Partilhar via


SmsPageData.ControlValidationRules Property

Gets or sets a dictionary that maps a property name to appropriate validation rules.

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

Usage

'Usage
Dim instance As SmsPageData
Dim value As Dictionary(Of String, Dictionary(Of String, ValidationRule))

value = instance.ControlValidationRules

instance.ControlValidationRules = value

Syntax

'Declaration
Public Property ControlValidationRules As Dictionary(Of String, Dictionary(Of String, ValidationRule))
public Dictionary<string,Dictionary<string,ValidationRule>> ControlValidationRules { get; set; }
public:
property Dictionary<String^, Dictionary<String^, ValidationRule^>^>^ ControlValidationRules {
    Dictionary<String^, Dictionary<String^, ValidationRule^>^>^ get ();
    void set (Dictionary<String^, Dictionary<String^, ValidationRule^>^>^ value);
}
/** @property */
public Dictionary<String,Dictionary<String,ValidationRule>> get_ControlValidationRules ()

/** @property */
public void set_ControlValidationRules (Dictionary<String,Dictionary<String,ValidationRule>> value)
public function get ControlValidationRules () : Dictionary<String,Dictionary<String,ValidationRule>>

public function set ControlValidationRules (value : Dictionary<String,Dictionary<String,ValidationRule>>)

Property Value

System.Collections.Generic.Dictionary object that represents a mapping between properties and appropriate 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

SmsPageData Class
SmsPageData Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ValidationRule