Kaspersky Security Center Automation  10.0
HRESULT IKlAkEvents::EnumEvents ( [in] IKlAkCollection pFields2Return,
[in] IKlAkCollection pSortFields,
[in] IKlAkParams pFilter,
[out, retval] IKlAkChunkAccessor **  ppChunkAccessor 

Acquire events.

Returns events with possibility of filtering.

pFields2Return array of task history event attribute names to return See List of event attributes for attribute names.
pSortFields array of containers each of them containing two attributes:
  • "Name" of type String, name of attribute used for sorting. See List of event attributes for attribute names.
  • "Asc" of type Boolean, ascending if true descending otherwise
pFilter IKlAkParams object containing values for attributes to filter events. Only events with matching attribute values will be returned. If empty all events for task will be returned. See List of event filter attributes for attribute names.
Return values:
ppChunkAccessor IKlAkChunkAccessor server-side collection of task history events.