The SMS_CollectToSubCollect Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that defines a parent-child relationship between collections.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_CollectToSubCollect
{
	String parentCollectionID;
	String subCollectionID;
};

Methods

The SMS_CollectToSubCollect class does not define any methods.

Properties

parentCollectionID


Data type: StringAccess type: Read/WriteQualifiers: [key]The unique ID of the parent collection.
subCollectionID


Data type: StringAccess type: Read/WriteQualifiers: [key]The unique ID of the child collection.

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Instances of this class are used to build a hierarchy of collections by logically relating one instance of SMS_Collection Server WMI Class to another. Use this class to modify the collection hierarchy, as opposed to using the SMS_CollectToSubCollect_a Server WMI Class class for making the basic relationship.

Because the membership of a collection is defined by its subcollections, in addition to its collection rules, adding or deleting instances of this class modifies the parent collection. Therefore, your application must modify rights to the parent collection to add, delete, or modify instances of this class.

A collection must be defined in the collection hierarchy for it to be visible in the Configuration Manager console. For more information about adding and deleting parent-child relationships in the collection hierarchy, see Configuration Manager Collection Hierarchy.

Instances of this class are automatically deleted if the referenced collection is deleted.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.