KSC Open API
Kaspersky Security Center API description
Policy::UpdatePolicyData ( int  nPolicy,
params  pPolicyData 
)

Update policy attributes.

Updates specified policy attributes.

Parameters:
nPolicy(int) identifier of the policy to update
pPolicyData(params) contains attributes to modify, following attributes can be changed:
  • KLPOL_DN
  • KLPOL_ACTIVE
  • KLPOL_ROAMING
  • KLPOL_ACCEPT_PARENT
  • KLPOL_FORCE_DISTRIB2CHILDREN
See also:
List of policy attributes