Share via


ValidationRulesManager.GetIntegralRule Method

Gets an integral validation rule.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim ruleName As String
Dim returnValue As IntegralValidationRuleType

returnValue = ValidationRulesManager.GetIntegralRule(ruleName)

Syntax

'Declaration
Public Shared Function GetIntegralRule ( _
    ruleName As String _
) As IntegralValidationRuleType
public static IntegralValidationRuleType GetIntegralRule (
    string ruleName
)
public:
static IntegralValidationRuleType^ GetIntegralRule (
    String^ ruleName
)
public static IntegralValidationRuleType GetIntegralRule (
    String ruleName
)
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

Reference

ValidationRulesManager Class
ValidationRulesManager Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
IntegralValidationRuleType Class