SMS_CollectToSubCollect_a
The SMS_CollectToSubCollect_a association WMI class relates a collection with its parent collection. It does this by relating one instance of SMS_Collection with another.
This is the only association class that is not read-only. Although you can use this class to modify the hierarchy of the collection, the preferred class to use is SMS_CollectToSubCollect. Since a collection's membership is defined by its subcollections as well as its collection rules, adding or deleting instances of this class modifies the parent collection referenced by the instance. For this reason, you will need modify rights to the parent collection to modify the hierarchy of the collection.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_CollectToSubCollect_a : SMS_BaseAssociation
{
SMS_Collection ref parentCollection;
SMS_Collection ref subCollection;
};
Properties
parentCollection
Data type: ref SMS_Collection**
**Access type: Read/write
Qualifiers: KeyReference to an SMS_Collection object path uniquely identifying the location of the parent collection class instance.
subCollection
Data type: ref SMS_Collection**
**Access type: Read/write
Qualifiers: KeyReference to an SMS_Collection object path uniquely identifying the location of the child collection class instance.