Gets validation rules for the specified property from the XML for
the page.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in
microsoft.configurationmanagement.dll)
Usage
Visual Basic |
Dim propertyName As String
Dim returnValue As Dictionary(Of String, ValidationRule)
returnValue = Me.GetValidationRulesForProperty(propertyName)
|
Syntax
Visual Basic |
Protected Function GetValidationRulesForProperty ( _
propertyName As String _
) As Dictionary(Of String, ValidationRule)
|
C# |
protected Dictionary<string,ValidationRule> GetValidationRulesForProperty (
string propertyName
)
|
C++ |
protected:
Dictionary<String^, ValidationRule^>^ GetValidationRulesForProperty (
String^ propertyName
)
|
J# |
protected Dictionary<String,ValidationRule> GetValidationRulesForProperty (
String propertyName
)
|
JScript |
protected function GetValidationRulesForProperty (
propertyName : String
) : Dictionary<String,ValidationRule>
|
Parameters
- propertyName
-
[in] Name of a property.
Return Value
System.Collections.Generic.Dictionary object that represents
ValidationRule objects.
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