共用方式為


SMS_CollectToSubCollect_a Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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_Collection

    Access type: Read/Write

    Qualifiers: [key]

    Reference to an SMS_Collection Server WMI Class object path for the parent collection.

  • subCollection
    Data type: ref SMS_Collection

    Access type: Read/Write

    Qualifiers: [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

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Reference

SMS_Collection Server WMI Class

Concepts

Software Distribution Server WMI Classes
SMS_CollectToSubCollect Server WMI Class