Compartilhar via


SmsPageControl.IsPageSetToReadOnly Property

Gets or sets a value that indicates whether the page is read-only by default.

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

Usage

'Usage
Dim instance As SmsPageControl
Dim value As Boolean

value = instance.IsPageSetToReadOnly

instance.IsPageSetToReadOnly = value

Syntax

'Declaration
Public Property IsPageSetToReadOnly As Boolean
public bool IsPageSetToReadOnly { get; set; }
public:
property bool IsPageSetToReadOnly {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IsPageSetToReadOnly ()

/** @property */
public void set_IsPageSetToReadOnly (boolean value)
public function get IsPageSetToReadOnly () : boolean

public function set IsPageSetToReadOnly (value : boolean)

Property Value

true if the page is set to be read-only; otherwise false.

Remarks

If this property is set to true, the OnInitialize method will not use its make controls read-only functionality (MakeControlsReadOnly will not be called).

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
OnInitialize