SmsPageControl.GetValidationRulesForProperty Method
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
'Usage
Dim propertyName As String
Dim returnValue As Dictionary(Of String, ValidationRule)
returnValue = Me.GetValidationRulesForProperty(propertyName)
Syntax
'Declaration
Protected Function GetValidationRulesForProperty ( _
propertyName As String _
) As Dictionary(Of String, ValidationRule)
protected Dictionary<string,ValidationRule> GetValidationRulesForProperty (
string propertyName
)
protected:
Dictionary<String^, ValidationRule^>^ GetValidationRulesForProperty (
String^ propertyName
)
protected Dictionary<String,ValidationRule> GetValidationRulesForProperty (
String propertyName
)
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
Reference
SmsPageControl Class
SmsPageControl Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ValidationRule