Share via


TextValidationRuleType.ReplaceRules Method

Replaces internal rules that have the specified validation rule reference type with new rules.

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

Usage

'Usage
Dim instance As TextValidationRuleType
Dim rule As TextValidationRuleReferenceType

instance.ReplaceRules(rule)

Syntax

'Declaration
Public Sub ReplaceRules ( _
    rule As TextValidationRuleReferenceType _
)
public void ReplaceRules (
    TextValidationRuleReferenceType rule
)
public:
void ReplaceRules (
    TextValidationRuleReferenceType^ rule
)
public void ReplaceRules (
    TextValidationRuleReferenceType rule
)
public function ReplaceRules (
    rule : TextValidationRuleReferenceType
)

Parameters

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

TextValidationRuleType Class
TextValidationRuleType Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
TextValidationRuleReferenceType Class