共用方式為


CIM_View class

The CIM_View class is an superclass for classes that provide de-normalized, aggregate representations of managed resources. These subclasses can represents resource classes or associations. A sub-class of must CIM_View include properties propagated from the graph of classes that are used to model the resource in normalized view. These subclasses also require a definition that describes how their properties are propagated. In addition, sub-classes of CIM_View can consist of all read only properties; otherwise, you should carefully consider the data synchronization and consistencies issues that may result.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[Abstract, Version("2.26.0"), UMLPackagePath("CIM::Core::CoreElements"), AMENDMENT]
class CIM_View : CIM_ManagedElement
{
  string InstanceID;
  string Caption;
  string Description;
  string ElementName;
};

Members

The CIM_View class has these types of members:

Properties

The CIM_View class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description of the object.

This property is inherited from CIM_ManagedElement.

Description

Data type: string

Access type: Read-only

A textual description of the object.

This property is inherited from CIM_ManagedElement.

ElementName

Data type: string

Access type: Read-only

A user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information.

This property is inherited from CIM_ManagedElement.

InstanceID

Data type: string

Access type: Read-only

Uniquely and opaquely identifies an instance of this class within the scope of the containing namespace.

[!Important]

In order to ensure uniqueness within the namespace, the value of the InstanceID property should be constructed in the following pattern: OrgID:LocalID

OrgID must include a copyrighted, trademarked or otherwise unique name that is owned by the business entity that defines the InstanceID, or be a registered ID that is assigned by a recognized global authority. This pattern is similar to the structure of schema class names. In addition, to ensure uniqueness, the first colon in InstanceID must be between the OrgID andLocalID. Therefore the OrgID must not contain a colon (':').

LocalID is chosen by the business entity and should not be re-used to identify different underlying real-world elements.

If the above pattern is not used, the defining entity must assure that the resultant InstanceID value is not re-used across any InstanceID properties that are produced by this provider or other providers for this namespace.

For Distributed Management Task Force (DMTF) defined instances, the pattern must be used with the OrgID set to CIM.

This property is inherited from CIM_ManagedElement.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_ManagedElement

Failover Clustering Hyper-V WMI Provider