MetricThresholdValue::GetComparison method
Returns the comparison setting of the MetricThresholdValue.
Syntax
virtual HRESULT GetComparison(
[out] MetricThresholdValueComparison *comparison
) const = 0;
Parameters
-
comparison [out]
-
The comparison setting.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
The MetricThresholdValue objects hold data from the MetricThreshold/MetricThresholdValues/MetricThresholdValue elements.
The comparison setting is the value of element MetricThresholdValue/Comparison. See MetricThresholdValueComparison for the comparison settings.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|