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: KeyReference to an SMS_Collection object path uniquely identifying the location of the class instance.
CollectionID
Data type: string
Access type: Read-onlyIdentifier of the collection.
Domain
Data type: string
Access type: Read-onlyWindows NT/Windows 2000 domain to which the resource belongs.
IsAssigned
Data type: boolean
Access type: Read-onlyIndicates whether the resource is within the site boundaries and has been assigned to the site.
IsClient
Data type: boolean
Access type: Read-onlyIndicates whether the SMS client software has been installed on this resource.
IsDirect
Data type: boolean
Access type: Read-onlyIndicates 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-onlyName of the member resource.
Resource
Data type: ref SMS_Resource**
**Access type: Read-only
Qualifiers: KeyReference to an SMS_Resource object path uniquely identifying the location of the class instance.
ResourceID
Data type: uint32
Access type: Read-only
Qualifiers: KeyMember resource.
ResourceType
Data type: uint32
Access type: Read-onlyType of the member resource, as defined by instances of SMS_ResourceMap.
SiteCode
Data type: string
Access type: Read-onlySite with which the resource is associated.
SMSID
Data type: string
Access type: Read-onlySMS 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.