Compartilhar via


MetricThreshold::GetTarget method

Returns the target of the MetricThreshold.

Syntax

virtual HRESULT GetTarget(
  [out] LPCWSTR *target
) const = 0;

Parameters

target [out]

The target.

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 target is the value of element MetricThreshold/Target.

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