Issue::AddMetricValue method
Creates and adds a MetricValue whose value is a LONGLONG.
Syntax
virtual HRESULT AddMetricValue(
[in] LPCWSTR programmaticName,
[in] LONGLONG value,
[out, optional] MetricValue **metricValue
) = 0;
Parameters
-
programmaticName [in]
-
The programmatic name.
-
value [in]
-
The value.
-
metricValue [out, optional]
-
The MetricValue that this method creates.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
The programmatic name is the value of element MetricValue/ProgrammaticName.
The value is the value of element MetricValue/Value.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|