KSC Open API  13.1
Kaspersky Security Center API description
HostTasks::GetNextTask ( wstring  strSrvObjId,
[out] params  pTaskData 
)

Sequentially get task data.

Gets result of operation HostTasks.ResetTasksIterator

Parameters:
strSrvObjId(wstring) server object ID that got from HostGroup.GetHostTasks
[out]pTaskData(params) task data with attributes from Task settings format. Call this method while pTaskData is not empty.