KSC Open API
Kaspersky Security Center API description
Tasks::ResetTasksIterator ( int  nGroupId,
boolean  bGroupIdSignificant,
wstring  strProductName,
wstring  strVersion,
wstring  strComponentName,
wstring  strInstanceId,
wstring  strTaskName,
boolean  bIncludeSupergroups,
[out] wstring  strTaskIteratorId 
)

Reset task iterator for a specified filter data.

If one of the parameters is not specified then the filtration will not be performed by this parameter.

Parameters:
nGroupId(int) group id
bGroupIdSignificant(boolean) set true if group id is significant, if false nGroupId will be skipped
strProductName(wstring) product name
strVersion(wstring) product version
strComponentName(wstring) component name
strInstanceId(wstring) instance id
strTaskName(wstring) task name
bIncludeSupergroups(boolean) set true if you need to include Super groups. The group Super is parent of the group Groups and is intended for assignment of group tasks and policies received from the primary server.
[out]strTaskIteratorId(wstring) iterator id, to get data use Tasks.GetNextTask, after iterator MUST be released by Tasks.ReleaseTasksIterator