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

import "klakaut.idl";

Inheritance diagram for IKlAkPolicies:
Inheritance graph
[legend]

List of all members.

Public Member Functions

HRESULT  GetPoliciesForGroup ([in] long nGroupId,[out, retval] IKlAkCollection **ppPolicies)
HRESULT  GetActivePolicies ([in] long nGroupId,[out, retval] IKlAkCollection **ppPolicies)
HRESULT  GetPolicyData ([in] long nPolicy,[out, retval] IKlAkParams **ppPolicy)
HRESULT  UpdatePolicyData ([in] long nPolicy,[in] IKlAkParams *pPolicy)
HRESULT  CopyOrMovePolicy ([in] long nPolicyId,[in] IKlAkParams *pPolicy,[in] VARIANT_BOOL bMove,[in] long nNewGroupId,[out, retval] long *pnPolicyId)
HRESULT  DeletePolicy ([in] long nPolicyId)
HRESULT  MakePolicyActive ([in] long nPolicyId,[in] VARIANT_BOOL bActive,[out, retval] VARIANT_BOOL *pbResult)
HRESULT  MakePolicyRoaming ([in] long nPolicyId,[out, retval] VARIANT_BOOL *pbResult)
HRESULT  SetOutbreakPolicies ([in] IKlAkCollection *pData)
HRESULT  GetOutbreakPolicies ([out, retval] IKlAkCollection **ppData)

Properties

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

Detailed Description

Policies managing.

Allows to enumerate, modify, copy, move and remove policies.

One should set AdmServer property before using the object.
See JScript call sample below.

	...
	var oObj = new ActiveXObject("klakaut.KlAkPolicies");
	oObj.AdmServer = ...;