Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates and adds a MetricThreshold to the Iteration.
Syntax
virtual HRESULT AddMetricThreshold(
[in] LPCWSTR descriptionProgrammaticName,
[in] LPCWSTR metricDefinitionProgrammaticName,
[out, optional] MetricThreshold **metricThreshold
) = 0;
Parameters
-
descriptionProgrammaticName [in]
-
The description programmatic name.
-
metricDefinitionProgrammaticName [in]
-
The metric definition programmatic name.
-
metricThreshold [out, optional]
-
The MetricThreshold that this method creates.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
The MetricThreshold objects hold information from the Iteration/MetricThresholds/MetricThreshold elements.
The description programmatic name is the value of element Iteration/MetricThresholds/MetricThreshold/Description.
The metric definition programmatic name is the value of element Iteration/MetricThresholds/MetricThreshold/MetricDefintionProgrammaticName.
Requirements
| Minimum supported client |
Windows 7 [desktop apps only] |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
| Header |
|
| DLL |
|