次の方法で共有


SMS_CollectionRuleDirect Server 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

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;
};

Methods

The SMS_CollectionRuleDirect class does not define any methods.

Properties

  • ResourceClassName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the resource class to which the resource belongs, for example, SMS_R_System Server WMI Class. The default value is "".

  • ResourceID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    ID of the resource that is to become a member of the collection. The default value is 0.

Remarks

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.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Software Distribution Server WMI Classes
SMS_CollectionRule Server WMI Class