MetricThreshold::SetDescriptionProgrammaticName method
Sets the description programmatic name of the MetricThreshold.
Syntax
virtual HRESULT SetDescriptionProgrammaticName(
[in] LPCWSTR descriptionProgrammaticName
) = 0;
Parameters
-
descriptionProgrammaticName [in]
-
The description 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 description programmatic name is the value of element MetricThreshold/Description/ProgrammaticName.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|