In Configuration Manager 2007, the CCM_Policy_Rule class is a client Windows Management Instrumentation (WMI) class that defines a policy object rule. Objects of this class are only used in the PolicyRules property in CCM_Policy_Policy Client WMI Class.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class CCM_Policy_Rule : CCM_Policy_Config { String RuleID; String RuleCondition; Object RuleActions[]; }; |
Properties
- RuleID
- Data type: StringAccess type: Read-only Qualifiers: [key]Unique ID of the rule within the policy object.
- RuleCondition
- Data type: StringAccess type: Read-onlyQualifiers: NoneOptional. Rule condition. If the condition is not NULL, set this property to the unique ID of a CCM_Policy_Condition Client WMI Class object. The rule is only applied if the policy is active and the rule condition evaluates to TRUE.
- RuleActions
- Data type: Object ArrayAccess type: Read-onlyQualifiers: NoneArray of CCM_Policy_Action Client WMI Class objects specifying the actions to perform when the rule is applied.
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
Reference
CCM_Policy_Condition Client WMI ClassCCM_Policy_Action Client WMI Class
Other Resources
Policy Agent Client WMI ClassesSend comments about this topic to Microsoft.