SMS_CollectionRuleDirect
The SMS_CollectionRuleDirect WMI class is an embedded object that directly specifies a resource to be made an unconditional member of the collection.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_CollectionRuleDirect : SMS_CollectionRule
{
string ResourceClassName;
uint32 ResourceID;
string RuleName;
};
Properties
ResourceClassName
Data type: string
Access type: Read/writeName of the resource class to which the resource belongs, such as SMS_R_System.
ResourceID
Data type: uint32
Access type: Read/writeResource that is to become a member of the collection.
RuleName
Data type: string
Access type: Read/writeDescriptive name that identifies the rule.