In System Center 2012 R2 Configuration Manager, the CCM_Policy_Assignment2 class is a client Windows Management Instrumentation (WMI) class that represents a policy assignment.

This information applies only to System Center 2012 Configuration Manager SP1 and System Center 2012 R2 Configuration Manager.

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

Class CCM_Policy_Assignment2 : CCM_Policy_Config
{
	String AssignmentCondition;
	String AssignmentCookie;
	String AssignmentID;
	ref:CCM_Policy_Policy AssignmentPolicy;
	String AssignmentSource;
	String AssignmentVersion;
};

Methods

The CCM_Policy_Assignment2 class does not define any methods.

Properties

AssignmentCondition

Data type: StringAccess type: Read/WriteQualifiers: NoneAssignment condition that determines if the policy should be applied to the assignment. Set this property to NULL if the policy always applies, or to the ID of a particular policy condition, represented by CCM_Policy_Condition Client WMI Class.
AssignmentCookie

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]Arbitrary data used by the source authority.
AssignmentID

Data type: StringAccess type: Read/WriteQualifiers: [key]Unique ID of the assignment.
AssignmentPolicy

Data type: ref:CCM_Policy_PolicyAccess type: Read-onlyQualifiers: [read, Not_Null:ToInstance]Reference to the policy object to which the assignment applies.
AssignmentSource

Data type: StringAccess type: Read/WriteQualifiers: [key, Not_Null:ToInstance]Source authority of the assignment.
AssignmentVersion

Data type: StringAccess type: Read/WriteQualifiers: [key, Not_Null:ToInstance ToSubClass]Version of the assignment.

Requirements

Runtime Requirements

Development Requirements

See Also