Gets the threshold value for the component or system status message. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim threshold As String
Dim messageType As String
Dim returnValue As String

returnValue = ResultObjectHelpers.GetThresholdValue(threshold, messageType)

Syntax

Visual Basic
Public Shared Function GetThresholdValue ( _
		threshold As String, _
		messageType As String _
) As String
C#
public static string GetThresholdValue (
		string threshold,
		string messageType
)
C++
public:
static String^ GetThresholdValue (
		String^ threshold, 
		String^ messageType
)
J#
public static String GetThresholdValue (
		String threshold, 
		String messageType
)
JScript
public static function GetThresholdValue (
		threshold : String, 
		messageType : String
) : String

Parameters

threshold

[in] Threshold type.

messageType

[in] Message type. For possible values, see StatusMessageType.

Return Value

Threshold value string.

Remarks

Exception type

Condition

ArgumentException

The messageType parameter cannot be null or an empty string


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also