KSC Open API  13.1
Kaspersky Security Center API description
PackagesApi::RemovePackage2 ( int  nPackageId,
[out] boolean  bResult,
[out] array  pTasks 
)

Remove a package and get the list of dependent tasks.

Parameters:
nPackageId(int) Package ID.
Return values:
bResult(boolean) Operation success flag.
pTasks(array) Array of dependent tasks. Each array entry is a paramParams container with attributes
  • "KLPKG_TASKINFO_TASK_ID" - Task ID (paramLong)
  • "KLPKG_TASKINFO_GROUP_ID" - Task group ID (paramLong)
  • "KLPKG_TASKINFO_TASK_DISPLNAME" - Task display name (paramString)
  • "KLPKG_TASKINFO_TASK_GROUP_DISPLNAME" - Task group display name (paramString)
Exceptions:
Throwsexception in case of error.