KSC Open API
Kaspersky Security Center API description
Tasks::CancelTask ( wstring  strTask)

Cancel execution of the specified task.

Cancels execution of the specified task.

Parameters:
strTask(wstring) task id in digital representation, like "1" or "45" and etc.