Kaspersky Security Center Automation  10.0
HRESULT IKlAkTasks::EnumTasks ( [in] long  lGroup,
[out, retval] IKlAkCollection **  ppInfo 
) [inherited]

Acquire attributes of specified task.

Returns attributes of specified task.

lGroup Id of administration group, "tasks for computer sets" (or "global tasks") will be returned if -1 is specified.
Return values:
ppInfo IKlAkCollection array of objects IKlAkParams, each of them contains tasks attributes (see List of task attributes).

See also Enumerating tasks, querying task statistics and running task sample.