Share via


Collection Classes

Collections let you logically divide the resources of your organization. SMS uses collections to identify those resources that are to receive advertisements. The following is a table of collection classes.

Class Description
SMS_CM_RES_COLL_CollectionID Contains the members of a collection. CollectionID is the unique collection identifier that completes the collection member class name. For example, SMS_CM_RES_COLL_SMS00004 contains All Windows NT Workstation Systems.
SMS_CM_RES_COLLROOT Reserved.
SMS_Collection Contains the rules that logically relate resources into collections of resources.
SMS_CollectionMember Abstract class that is the parent class for all the SMS_CM_RES_COLL_ collection member classes.
SMS_CollectionRule Abstract class that is the parent class for direct and query rules. Rules define membership in a collection.
SMS_CollectionRuleDirect Use to specify that a specific resource be made a member of a collection.
SMS_CollectionRuleQuery Use to specify members of a collection based on the results of a query.
SMS_CollectToSubCollect Relates a collection to its parent collection. Instances of this class are used to build a hierarchy of collections.

See Also

Managing Collections, Distributing Software, Software Distribution Classes