CCM_Policy_Policy Client WMI Class

In Configuration Manager, the CCM_Policy_Policy class is a client Windows Management Instrumentation (WMI) class that defines a policy object for a client policy.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Syntax

Class CCM_Policy_Policy : CCM_Policy_Config  
{  
      String DownloadSource;  
      String PolicyCookie;  
      String PolicyHash;  
      String PolicyID;  
      CCM_Policy_Rule PolicyRules[];  
      String PolicySource;  
      String PolicyState;  
      String PolicyVersion;  
};  

Methods

The CCM_Policy_Policy class doesn't define any methods.

Properties

DownloadSource
Data type: String

Access type: Read/Write

Qualifiers: [Not_Null:ToInstance]

Location from which the policy is downloaded.

PolicyCookie
Data type: String

Access type: Read/Write

Qualifiers: [key]

Arbitrary data used by the source authority.

PolicyHash
Data type: String

Access type: Read/Write

Qualifiers: None

Reserved.

PolicyID
Data type: String

Access type: Read/Write

Qualifiers: [key]

Unique ID of the policy object.

PolicyRules
Data type: CCM_Policy_Rule Array

Access type: Read/Write

Qualifiers: None

Array of CCM_Policy_Rule Client WMI Class objects describing rules reflecting actions of the policy object. Set this property to NULL if the policy object contains no actions.

PolicySource
Data type: String

Access type: Read/Write

Qualifiers: [key]

Source authority of the policy object.

PolicyState
Data type: String

Access type: Read/Write

Qualifiers: [ToInstance]

Current state of the policy object. Possible values are:

Value Description
NULL The policy object is inactive and hasn't been downloaded. This is the default value.
DownloadPending The evaluator has determined that the policy object needs to be applied and should be downloaded. This is a temporary state used during the evaluation process.
DownloadStarted The policy object has been requested from the management point and is in the process of being downloaded.
DownloadComplete The policy object has finished downloading from the management point but hasn't been compiled into WMI yet.
Inactive The policy object is downloaded and compiled, but has no active assignments.
Applied The policy object is currently active, but pending revaluation. This is a temporary state used during the evaluation process. If the evaluation determines that the policy object should no longer be active, its actions must be revoked.
ApplyPending The policy object is currently inactive, but now has active assignments and actions that should be applied. This is a temporary state used during the evaluation process.
Active The policy object is currently active and has been applied.
NotApplicable The policy object isn't applicable.

This information applies to System Center 2012 Configuration Manager SP1 or later, and System Center 2012 R2 Configuration Manager or later.

PolicyVersion
Data type: String

Access type: Read/Write

Qualifiers: [key]

Version of the policy object.

Requirements

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Policy Agent Client WMI Classes
CCM_Policy_Rule Client WMI Class