The SMS_CollectToSubCollect_a Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that relates an SMS_Collection Server WMI Class object with its parent collection.

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

Class SMS_CollectToSubCollect_a : SMS_BaseAssociation
{
	ref:SMS_Collection parentCollection;
	ref:SMS_Collection subCollection;
};

Methods

The SMS_CollectToSubCollect_a class does not define any methods.

Properties

parentCollection


Data type: ref:SMS_CollectionAccess type: Read/WriteQualifiers: [key]Reference to an SMS_Collection Server WMI Class object path for the parent collection.
subCollection


Data type: ref SMS_CollectionAccess type: Read/WriteQualifiers: [key]Reference to an SMS_Collection object path for the child collection.

Remarks

Class qualifiers for this class include:

  • Association: ToInstance

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

This class is the only association class that is not read-only. Although your application can use this class to modify the hierarchy of the collection, the preferred class to use is SMS_CollectToSubCollect Server WMI Class. Because the membership of the collection is defined by its subcollections, in addition to its collection rules, adding or deleting instances of this class modifies the parent collection. Thus, the application must modify rights to the parent collection to modify the collection hierarchy.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.