Enables or disables the specified button for the tabbed dialog box. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim instance As SmsTabbedDialog
Dim btnType As FormButtonType
Dim enable As Boolean

instance.EnableButton(btnType, enable)

Syntax

Visual Basic
Public Sub EnableButton ( _
		btnType As FormButtonType, _
		enable As Boolean _
)
C#
public void EnableButton (
		FormButtonType btnType,
		bool enable
)
C++
public:
void EnableButton (
		FormButtonType btnType, 
		bool enable
)
J#
public void EnableButton (
		FormButtonType btnType, 
		boolean enable
)
JScript
public function EnableButton (
		btnType : FormButtonType, 
		enable : boolean
)

Parameters

btnType

[in] FormButtonType object.

enable

[in] true to enable the button.

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