ResultObjectHelpers.GetThresholdValue Method
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
'Usage
Dim threshold As String
Dim messageType As String
Dim returnValue As String
returnValue = ResultObjectHelpers.GetThresholdValue(threshold, messageType)
Syntax
'Declaration
Public Shared Function GetThresholdValue ( _
threshold As String, _
messageType As String _
) As String
public static string GetThresholdValue (
string threshold,
string messageType
)
public:
static String^ GetThresholdValue (
String^ threshold,
String^ messageType
)
public static String GetThresholdValue (
String threshold,
String messageType
)
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 |
---|---|
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
Reference
ResultObjectHelpers Class
ResultObjectHelpers Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
StatusMessageType