Gets an integral validation rule. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim ruleName As String
Dim returnValue As IntegralValidationRuleType

returnValue = ValidationRulesManager.GetIntegralRule(ruleName)

Syntax

Visual Basic
Public Shared Function GetIntegralRule ( _
		ruleName As String _
) As IntegralValidationRuleType
C#
public static IntegralValidationRuleType GetIntegralRule (
		string ruleName
)
C++
public:
static IntegralValidationRuleType^ GetIntegralRule (
		String^ ruleName
)
J#
public static IntegralValidationRuleType GetIntegralRule (
		String ruleName
)
JScript
public static function GetIntegralRule (
		ruleName : String
) : IntegralValidationRuleType

Parameters

ruleName

[in] Rule name.

Return Value

IntegralValidationRuleType object.

Exceptions

Exception type Condition
ArgumentException

The specified rule does not exist.

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