In Configuration Manager 2007, 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.

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 does not define any methods.

Properties

DownloadSource


Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]Location from which the policy is downloaded.
PolicyCookie


Data type: StringAccess type: Read/WriteQualifiers: [key]Arbitrary data used by the source authority.
PolicyHash


Data type: StringAccess type: Read/WriteQualifiers: NoneReserved.
PolicyID


Data type: StringAccess type: Read/WriteQualifiers: [key] Unique ID of the policy object.
PolicyRules


Data type: CCM_Policy_Rule ArrayAccess type: Read/WriteQualifiers: NoneArray 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: StringAccess type: Read/WriteQualifiers: [key] Source authority of the policy object.
PolicyState


Data type: StringAccess type: Read/WriteQualifiers: [ToInstance]Current state of the policy object. Possible values are:

NULL

The policy object is inactive and has not 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 has not 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 re-valuation. 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.

PolicyVersion


Data type: StringAccess type: Read/WriteQualifiers: [key] Version of the policy object.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.