Share via


MetricThreshold::SetMetricDefinitionProgrammaticName method

Sets the metric definition programmatic name of the MetricThreshold.

Syntax

virtual HRESULT SetMetricDefinitionProgrammaticName(
  [in] LPCWSTR metricDefinitionProgrammaticName
) = 0;

Parameters

metricDefinitionProgrammaticName [in]

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
AxeRuntime.h
DLL
AxeCore.dll

See also

MetricThreshold