Kaspersky Security Center Automation  10.0
HRESULT IKlAkPolicies::MakePolicyActive ( [in] long  nPolicyId,
[in] VARIANT_BOOL  bActive,
[out, retval] VARIANT_BOOL *  pbResult 
)

Activate/deactivate the specified policy.

Changes active state of the specified policy

Parameters:
nPolicyId policy id
bActive whether activate of deactivate policy
Return values:
pbResult true if policy activity state was really modified