IServerType2 Interface

Definition

Represents the extra interface that can be implemented by a server type to fine-tune the behavior of the dialog box.

public interface class IServerType2 : Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType
public interface IServerType2 : Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
type IServerType2 = interface
    interface IServerType
Public Interface IServerType2
Implements IServerType
Derived
Implements

Properties

AuthenticationInfoCollection

Gets a table which contains the authentication labels used to populate the simple view of the connection dialog box.

(Inherited from IServerType)
Owner

Gets or sets a value to pass the owner handle to the child windows.

RequestedPropertySize

Gets the size that the custom user control needs to render correctly. This is used by both the advanced view of the connection dialog box and the New Server Registration dialog box to ensure that they expose enough screen space for the whole control to be visible.

(Inherited from IServerType)
ServerGroupName

Gets the name of the server group root node for the server type. Used in the Registered Servers user interface.

(Inherited from IServerType)
ServerInstanceName

Gets the instance name of the server.

(Inherited from IServerType)
ServerType

Gets the GUID for the server type that is exposed to the user in the Server type combo box.

(Inherited from IServerType)
ServerTypeName

Gets the string that is exposed to the user in the Server type combo box.

(Inherited from IServerType)
SupportsCustomBrowseAction

Gets a value indicating whether the instance of this server type wants to specify custom action when the user selects browse action in the server combo.

SupportsCustomNewDatabaseAction

Gets a value indicating whether the server name combo on the Login tab should contain new database action option.

SupportsUserNameNotion

Gets a value indicating whether the user name combo on the Login tab should be enabled. If not, the user name doesn't apply to this server type.

Methods

CustomBrowseAction()

Executes when the user selects the custom browse action in the server combo.

CustomNewDatabaseAction()

Executes when the user selects the custom new database action in the server combo.

GenerateImage()

Returns a newly-instantiated icon that is displayed in the Registered Servers tree.

(Inherited from IServerType)
GenerateUserControl()

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

(Inherited from IServerType)
GetConnectionObject(UIConnectionInfo)

Returns a new IDbConnection object (closed) that is based on the passed UIConnectionInfo object.

(Inherited from IServerType)
LoadPersonalizationInfo(UIConnectionInfo, Boolean)

Loads any personalization information that was saved upon successful connection by using SavePersonalizationInfo(UIConnectionInfo). The personalization information is uniquely identified by a combination of server type, server name, authentication type, and user name.

(Inherited from IServerType)
ProceedWithConnection(UIConnectionInfo)

Used when a server type needs to perform additional processing steps. Indicates whether the connection can continue, or whether the connection dialog box should remain on the screen.

(Inherited from IServerType)
SavePersonalizationInfo(UIConnectionInfo)

Saves personalization information that may be needed for subsequent uses of the connection dialog box, such as the server type, server name, authentication type, and user name.

(Inherited from IServerType)

Applies to