SMS_CM_RES_COLL_CollectionID
These WMI classes contain the members of a collection. CollectionID is the unique collection identifier assgined to the collection when it is created. The provider creates several default SMS_CM_RES_COLL_CollectionID classes at installation time whose collection identifier value begins with SMS. For example, SMS_CM_RES_COLL_SMS00004 contains All Windows NT Workstation Systems.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_CM_RES_COLL_CollectionID : SMS_CollectionMember
{
string Domain;
boolean IsAssigned;
boolean IsClient;
boolean IsDirect;
string Name;
uint32 ResourceID;
uint32 ResourceType;
string SiteCode;
string SMSID;
};
Properties
Domain
Data type: string
Access type: Read-onlyDomain to which the resource belongs.
IsAssigned
Data type: boolean
Access type: Read-onlyIndicates whether the client is assigned to this site.
IsClient
Data type: boolean
Access type: Read-onlyIndicates whether the resource is an installed SMS client.
IsDirect
Data type: boolean
Access type: Read-onlyValue is TRUE if the client is a member through a direct rule (SMS_CollectionRuleDirect). Otherwise, the value is FALSE or NULL.
Name
Data type: string
Access type: Read-onlyName of the resource.
ResourceID
Data type: uint32
Access type: Read-only
Qualifiers: KeyUnique, SMS-supplied identifier for this resource. A ResourceID value is not unique outside the site.
ResourceType
Data type: uint32
Access type: Read-onlyType of resource such as system or user. For details, see SMS_ResourceMap.
SiteCode
Data type: string
Access type: Read-onlySite code of the site that created the collection.
SMSID
Data type: string
Access type: Read-onlySMS unique identifier (GUID) generated by the client. The IsClient property must be TRUE.
Remarks
You use the SMS_Collection methods to maintain the membership of your collection — you do not create, update, or delete member instances directly. This class is deleted for you if the collection is deleted.
See Also
Collection Classes, Managing Collections, SMS_Collection, SMS_CollectionMember