Partager via


SmsPageControl.MakeControlReadOnly Method

Sets a single control on the page to be read-only.

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

Usage

'Usage
Dim control As Control

Me.MakeControlReadOnly(control)

Syntax

'Declaration
Protected Sub MakeControlReadOnly ( _
    control As Control _
)
protected void MakeControlReadOnly (
    Control control
)
protected:
void MakeControlReadOnly (
    Control^ control
)
protected void MakeControlReadOnly (
    Control control
)
protected function MakeControlReadOnly (
    control : Control
)

Parameters

  • control
    [in] System.Windows.Forms.Control object.

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
RestoreControls