Share via


SqlServerType.IServerType.GenerateUserControl Method

Retrieves a newly-instantiated user control that is displayed on the Connection Properties tab of the advanced view of the connection dialog box.

Namespace:  Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

Syntax

'Declaration
Private Function GenerateUserControl As UserControl
    Implements IServerType.GenerateUserControl
'Usage
Dim instance As SqlServerType
Dim returnValue As UserControl

returnValue = CType(instance, IServerType).GenerateUserControl()
UserControl IServerType.GenerateUserControl()
private:
virtual UserControl^ GenerateUserControl() sealed = IServerType::GenerateUserControl
private abstract GenerateUserControl : unit -> UserControl 
private override GenerateUserControl : unit -> UserControl 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Windows.Forms.UserControl
The newly-instantiated user control.

Implements

IServerType.GenerateUserControl()