Share via


SMS_CollectionMember_a

The SMS_CollectionMember_a association WMI class relates a collection with its member resources. It does this by relating an instance of SMS_Collection with an instance of SMS_Resource.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_CollectionMember_a : SMS_BaseAssociation
{
  SMS_Collection ref Collection;
  string CollectionID;
  string Domain;
  boolean IsAssigned;
  boolean IsClient;
  boolean IsDirect;
  string Name;
  SMS_Resource ref Resource;
  uint32 ResourceID;
  uint32 ResourceType;
  string SiteCode;
  string SMSID;
};

Properties

  • Collection
    Data type: ref SMS_Collection**
    **Access type: Read-only
    Qualifiers: Key

    Reference to an SMS_Collection object path uniquely identifying the location of the class instance.

  • CollectionID
    Data type: string
    Access type: Read-only

    Identifier of the collection.

  • Domain
    Data type: string
    Access type: Read-only

    Windows NT/Windows 2000 domain to which the resource belongs.

  • IsAssigned
    Data type: boolean
    Access type: Read-only

    Indicates whether the resource is within the site boundaries and has been assigned to the site.

  • IsClient
    Data type: boolean
    Access type: Read-only

    Indicates whether the SMS client software has been installed on this resource.

  • IsDirect
    Data type: boolean
    Access type: Read-only

    Indicates whether the client is a member of the associated collection by a direct rule (for more information, see SMS_CollectionRuleDirect).

  • Name
    Data type: string
    Access type: Read-only

    Name of the member resource.

  • Resource
    Data type: ref SMS_Resource**
    **Access type: Read-only
    Qualifiers: Key

    Reference to an SMS_Resource object path uniquely identifying the location of the class instance.

  • ResourceID
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    Member resource.

  • ResourceType
    Data type: uint32
    Access type: Read-only

    Type of the member resource, as defined by instances of SMS_ResourceMap.

  • SiteCode
    Data type: string
    Access type: Read-only

    Site with which the resource is associated.

  • SMSID
    Data type: string
    Access type: Read-only

    SMS unique identifier of the member resource.

Remarks

The properties CollectionID and ResourceID can be used in a WMI Query Language (WQL) WHERE clause. However, you are limited to using an OR condition. Your query may not use the other properties in the association.

See Also

Association Classes