共用方式為


CIM_MetricDefForME class

Represents an association in which a CIM_BaseMetricDefinition object defines metrics for a managed element.

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

Syntax

[Association, Abstract, Version("2.22.0"), UMLPackagePath("CIM::Metrics::BaseMetric")]
class CIM_MetricDefForME : CIM_Dependency
{
  CIM_ManagedElement       REF Antecedent;
  CIM_BaseMetricDefinition REF Dependent;
  uint16                       MetricCollectionEnabled;
};

Members

The CIM_MetricDefForME class has these types of members:

Properties

The CIM_MetricDefForME class has these properties.

Antecedent

Data type: CIM_ManagedElement

Access type: Read-only

Qualifiers: Override ("Antecedent")

The managed element that is associated with the metric definition.

Dependent

Data type: CIM_BaseMetricDefinition

Access type: Read-only

Qualifiers: Override ("Dependent")

The metric definition that is associated with the managed element.

MetricCollectionEnabled

Data type: uint16

Access type: Read-only

Indicates whether the metric is being collected for the managed element.

Enabled (2)

The metric is being collected.

Disabled (3)

The metric is not being collected.

Reserved (4)

Reserved.

DMTF Reserved

Vendor Reserved

Reserved.

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_Dependency

Failover Clustering Hyper-V WMI Provider