Kaspersky Security Center Automation  10.0
Public Member Functions | Properties
IKlAkHosts Interface Reference

import "klakaut.idl";

Inheritance diagram for IKlAkHosts:
Inheritance graph

List of all members.

Public Member Functions

HRESULT  AddHost ([in] IKlAkParams *pInfo,[out, retval] BSTR *pstrHostName)
HRESULT  UpdateHost ([in] BSTR strHostName,[in] IKlAkParams *pInfo)
HRESULT  RemoveHost ([in] BSTR strHostName)
HRESULT  GetHostInfo ([in] BSTR strHostName,[in] IKlAkCollection *pFields2Return,[out, retval] IKlAkParams **ppInfo)
HRESULT  FindHosts ([in] BSTR strFilter,[in] IKlAkCollection *pFields2Return,[in] IKlAkCollection *pSortFields,[out, retval] IKlAkChunkAccessor **ppChunkAccessor)
HRESULT  MoveHostsToGroup ([in] long nGroup,[in] IKlAkCollection *pHostNames)
HRESULT  RemoveHosts ([in] IKlAkCollection *pHostNames,[in] VARIANT_BOOL bForceDestroy)
HRESULT  ZeroVirusCountForGroup ([in] long nParent)
HRESULT  ZeroVirusCountForHosts ([in] IKlAkCollection *pHostNames)


IKlAkProxy  AdmServer [get, set]
VARIANT  Prop ([in] BSTR strName) [get, set]
KlAkObjType  Type [get]

Detailed Description

Hosts processing.

Allows to create and destroy hosts, acquire and modify host attributes and find hosts by attributes. One should set AdmServer property before using the object.
See JScript sample below.

	oAdmServer = AcquireAdmServerProxy();
	oHosts = new ActiveXObject("klakaut.KlAkHosts");
	oHosts.AdmServer = oAdmServer;