MetricThreshold::GetMetricDefinitionProgrammaticName method
Returns the metric definition programmatic name of the MetricThreshold.
Syntax
virtual HRESULT GetMetricDefinitionProgrammaticName(
[out] LPCWSTR *metricDefinitionProgrammaticName
) const = 0;
Parameters
-
metricDefinitionProgrammaticName [out]
-
The metric definition programmatic name.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
A MetricThreshold holds data from a MetricThresholds/MetricThreshold element.
The metric definition programmatic name is the value of element MetricThreshold/MetricDefinitionProgrammaticName.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|