Kaspersky Security Center Automation
10.0
|
import "klakaut.idl";
Public Member Functions |
|
HRESULT | GetTask ([in] BSTR bstrTask,[out, retval] IKlAkParams **ppInfo) |
HRESULT | EnumTasks ([in] long lGroup,[out, retval] IKlAkCollection **ppInfo) |
HRESULT | RunTask ([in] BSTR bstrTask) |
HRESULT | SuspendTask ([in] BSTR bstrTask) |
HRESULT | ResumeTask ([in] BSTR bstrTask) |
HRESULT | CancelTask ([in] BSTR bstrTask) |
HRESULT | GetTaskStatistics ([in] BSTR bstrTask,[out, retval] IKlAkParams **ppInfo) |
HRESULT | GetTaskHistory ([in] BSTR bstrTask,[in] IKlAkCollection *pFields2Return,[in] IKlAkCollection *pSortFields,[in] BSTR strHostName,[in] IKlAkParams *pFilter,[out, retval] IKlAkChunkAccessor **ppChunkAccessor) |
Properties |
|
IKlAkProxy |
AdmServer [get, set] |
VARIANT |
Prop ([in] BSTR strName) [get, set] |
KlAkObjType |
Type [get] |
Group tasks.
Allows to acquire task attributes, enumerate and control tasks.
One should set AdmServer property before using the object.
See JScript call sample below.
... var oObj = new ActiveXObject("klakaut.KlAkTasks"); oObj.AdmServer = ...;
See also Enumerating tasks, querying task statistics and running task sample.