共用方式為


CIM_CollectionOfMSEs class

CollectionOfMSEs allows the grouping of CIM_ManagedSystemElement objects for the purposes of associating settings and configurations.

It is abstract to require further definition and semantic refinement in subclasses. The CollectionOfMSEs object does not carry any state or status information, but only represents a grouping or 'bag' of Elements. For this reason, it is incorrect to subclass groups that have state/status from CollectionOfMSEs - an example is CIM_RedundancyGroup (which is correctly subclassed from LogicalElement).

Collections typically aggregate 'like' objects, and represent an optimization. Without Collections, one is forced to define individual ElementSetting and ElementConfiguration associations, to tie Settings and Configuration objects to individual ManagedSystemElements. There may be much duplication in assigning the same Setting to multiple objects. In addition, using the Collection object allows the determination that the Setting and Configuration associations are indeed the same for the Collection's members. This information would otherwise be obtained by defining the Collection in a proprietary manner, and then querying the ElementSetting and ElementConfiguration associations to determine if the Collection set is completely covered.

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

Syntax

[Abstract, AMENDMENT]
class CIM_CollectionOfMSEs
{
  string CollectionID;
  string Caption;
  string Description;
};

Members

The CIM_CollectionOfMSEs class has these types of members:

Properties

The CIM_CollectionOfMSEs class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description (one-line string) of the current instance.

CollectionID

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

The identification of the collection object. When subclassed, CollectionID can be overridden to be a Key property.

Description

Data type: string

Access type: Read-only

A textual description of the current instance.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
Wmipcima.mof
DLL
Wmipcima.dll