次の方法で共有


CCM_Policy 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 class is a client Windows Management Instrumentation (WMI) class that represents a client policy.

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

Class CCM_Policy
{
      String PolicyID;
      String PolicyInstanceID;
      UInt32 PolicyPrecedence;
      String PolicyRuleID;
      String PolicySource;
      String PolicyVersion;
};

Methods

The CCM_Policy class does not define any methods.

Properties

  • PolicyID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Unique ID of the policy.

  • PolicyInstanceID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Unique ID of the policy instance.

  • PolicyPrecedence
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [key]

    Precedence is used to resolve conflicts between policies from the same policy authority. For example, this occurs in Configuration Manager 2007 when using collection variables to override site-wide policy, or setting a value for a collection variable on multiple collections of which the same client is a member.

  • PolicyRuleID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Unique ID of the rule used to create the policy.

  • PolicySource
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Source of the policy.

  • PolicyVersion
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Version of the policy.

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