GetMetricValues method of the CIM_MetricService class
Retrieves a filtered list of metric values.
Syntax
uint32 GetMetricValues(
[in] CIM_BaseMetricDefinition REF Definition,
[in] uint16 Range,
[in] uint16 Count,
[out] CIM_BaseMetricValue REF Values[]
);
Parameters
-
Definition [in]
-
A reference to the metric definition from which to retrieve metric values.
-
Range [in]
-
Indicates how the metric value instances are selected. The algorithm for ordering value instances is metric definition specific.
-
Minimum (2)
-
Maximum (3)
-
DMTF Reserved
- 4 32767
-
Vendor Specific
- 32768 65535
Count [in]
The maximum number of metric value instances to return.
Values [out]
An array that contains the returned metric values.
Return value
The possible return values are:
-
Success (0)
-
Not Supported (1)
-
Failed (2)
-
Method Reserved (3 32767)
-
Vendor Specific (32768 65535)
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\HyperVCluster\v2 |
MOF |
|
DLL |
|