Share via


CCM_Policy_Assignment Client WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Configuration Manager 2007, the CCM_Policy_Assignment class is a client Windows Management Instrumentation (WMI) class that represents a policy assignment.

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

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

Methods

The CCM_Policy_Assignment class does not define any methods.

Properties

  • AssignmentCondition
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Assignment 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: String

    Access type: Read/Write

    Qualifiers: [Not_Null:ToInstance]

    Arbitrary data used by the source authority.

  • AssignmentID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Unique ID of the assignment.

  • AssignmentPolicy
    Data type: ref:CCM_Policy_Policy

    Access type: Read-only

    Qualifiers: [read, Not_Null:ToInstance]

    Reference to the policy object to which the assignment applies.

  • AssignmentSource
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, Not_Null:ToInstance]

    Source authority of the assignment.

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

Concepts

Policy Agent Client WMI Classes
CCM_Policy_Condition Client WMI Class