Initializes a new instance of
TextValidationRuleType for the specified rule.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in
microsoft.configurationmanagement.dll)
Usage
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