Export (0) Print
Expand All

SqlServerType Class

 

Applies To: SQL Server 2016 Preview

Implements the connection dialog interfaces for Database Engine server type connections.

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

System.Object
  Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType

[HelpKeyWordAttribute("sql12.swb.connection.login.sqlserver.f1")]
[AdvancedViewHelpKeyWordAttribute("sql12.swb.connecttosqlserver.login.f1")]
[CLSCompliantAttribute(false)]
[RegisterServerHelpKeyWordAttribute("sql12.swb.registerserver.general.sqlserver.f1")]
public class SqlServerType : IServerType, IConnectionValidator

NameDescription
System_CAPS_pubmethodSqlServerType()

Initializes a new instance of the SqlServerType class with the default property values.

System_CAPS_pubmethodSqlServerType(Decimal)

Initializes a new instance of the SqlServerType class with the specified default execution time-out value.

System_CAPS_pubmethodSqlServerType(Int32[])

Initializes a new instance of the SqlServerType class with specified supported authentication types.

System_CAPS_pubmethodSqlServerType(Int32[], Decimal)

Initializes a new instance of the SqlServerType class with specified supported authentication types and default execution time-out value.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_protfieldauthCollection

Specifies the authentication information collection for the server.

System_CAPS_pubfieldSystem_CAPS_staticConnectionTimeout

A String constant with the CONNECTION_TIMEOUT value.

System_CAPS_pubfieldSystem_CAPS_staticCustomConnectionColor

A String constant with the CUSTOM_CONNECTION_COLOR value.

System_CAPS_pubfieldSystem_CAPS_staticDatabase

A String constant with the DATABASE value.

System_CAPS_pubfieldSystem_CAPS_staticEncryptConnection

A String constant with the ENCRYPT_CONNECTION value.

System_CAPS_pubfieldSystem_CAPS_staticExecutionTimeout

A String constant with the EXEC_TIMEOUT value.

System_CAPS_pubfieldSystem_CAPS_staticExecutionTimeoutDisable

A String constant with the EXEC_TIMEOUT_DISABLE value.

System_CAPS_pubfieldSystem_CAPS_staticNetworkProtocol

A String constant with the PROTOCOL value.

System_CAPS_pubfieldSystem_CAPS_staticPacketSize

A String constant with the PACKET_SIZE value.

System_CAPS_protfieldSystem_CAPS_staticreqSize

Specifies the requested property size for the server.

System_CAPS_protfieldserverInstanceName

Specifies the instance name for the server.

System_CAPS_protfieldserverName

Specifies a string that represents the name of the server.

System_CAPS_protfieldserverRootName

Specifies a string that represents the root name of the server.

System_CAPS_pubfieldSystem_CAPS_staticServerType

The GUID for the server type.

System_CAPS_pubfieldSystem_CAPS_staticSqlAuthenticationType

A constant of type T:System.Int, with a value of 1.

System_CAPS_pubfieldSystem_CAPS_staticSqlExpressEditionNumber

A constant of type T:System.Int, with a value of 4.

System_CAPS_pubfieldSystem_CAPS_staticTrustedAuthenticationType

A constant of type T:System.Int, with a value of 0.

System_CAPS_pubfieldSystem_CAPS_staticUseCustomConnectionColor

A String constant with the USE_CUSTOM_CONNECTION_COLOR value.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIConnectionValidator.CheckConnection(IDbConnection)

Checks if successfully opened connection should be returned to the calling application Throws NotSupportedException exception if it should be bounced with error message as the exception text.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServerType.GenerateImage()

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServerType.GenerateUserControl()

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServerType.GetConnectionObject(UIConnectionInfo)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServerType.LoadPersonalizationInfo(UIConnectionInfo, Boolean)

Loads any personalization information that is saved upon successful connection by using SavePersonalizationInfo.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServerType.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServerType.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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft