Initializes a new instance of TextValidationRuleType for the specified rule. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim name As String
Dim rule As String

Dim instance As New TextValidationRuleType(name, rule)

Syntax

Visual Basic
Public Sub New ( _
		name As String, _
		rule As String _
)
C#
public TextValidationRuleType (
		string name,
		string rule
)
C++
public:
TextValidationRuleType (
		String^ name, 
		String^ rule
)
J#
public TextValidationRuleType (
		String name, 
		String rule
)
JScript
public function TextValidationRuleType (
		name : String, 
		rule : String
)

Parameters

name

[in] Name of the rule.

rule

[in] Text for the rule.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also