Share via


MetricThresholdValue::SetDescriptionProgrammaticName method

Sets the description programmatic name of the MetricThresholdValue.

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

The MetricThresholdValue objects hold data from the MetricThreshold/MetricThresholdValues/MetricThresholdValue elements.

The description programmatic name is the value of element MetricThresholdValue/Description/ProgrammaticName.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

MetricThresholdValue