The SMS_CollectionRuleDirect Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a resource that is to be made an unconditional member of the collection.

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

Class SMS_CollectionRuleDirect : SMS_CollectionRule
	String ResourceClassName;
	UInt32 ResourceID;
	String RuleName;


The SMS_CollectionRuleDirect class does not define any methods.



Data type: StringAccess type: Read/WriteQualifiers: NoneName of the resource class to which the resource belongs, for example, SMS_R_System Server WMI Class. The default value is "".

Data type: UInt32Access type: Read/WriteQualifiers: NoneID of the resource that is to become a member of the collection. The default value is 0.

Data type: StringAccess type: Read/WriteQualifiers: NoneSee SMS_CollectionRule Server WMI Class.


Class qualifiers for this class include:

  • Embedded

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.