SqlServerType Class
Implements the connection dialog interfaces for Database Engine server type connections.
This API is not CLS-compliant.
Assembly: ConnectionDlg (in ConnectionDlg.dll)
[HelpKeyWordAttribute("sql12.swb.connection.login.sqlserver.f1")] [AdvancedViewHelpKeyWordAttribute("sql12.swb.connecttosqlserver.login.f1")] [CLSCompliantAttribute(false)] [RegisterServerHelpKeyWordAttribute("sql12.swb.registerserver.general.sqlserver.f1")] public ref class SqlServerType : IServerType, IConnectionValidator
| Name | Description | |
|---|---|---|
![]() | SqlServerType() | Initializes a new instance of the SqlServerType class with the default property values. |
![]() | SqlServerType(Decimal) | Initializes a new instance of the SqlServerType class with the specified default execution time-out value. |
![]() | SqlServerType(array<Int32>^) | Initializes a new instance of the SqlServerType class with specified supported authentication types. |
![]() | SqlServerType(array<Int32>^, Decimal) | Initializes a new instance of the SqlServerType class with specified supported authentication types and default execution time-out value. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | authCollection | Specifies the authentication information collection for the server. |
![]() ![]() | ConnectionTimeout | A String constant with the CONNECTION_TIMEOUT value. |
![]() ![]() | CustomConnectionColor | A String constant with the CUSTOM_CONNECTION_COLOR value. |
![]() ![]() | Database | A String constant with the DATABASE value. |
![]() ![]() | EncryptConnection | A String constant with the ENCRYPT_CONNECTION value. |
![]() ![]() | ExecutionTimeout | A String constant with the EXEC_TIMEOUT value. |
![]() ![]() | ExecutionTimeoutDisable | A String constant with the EXEC_TIMEOUT_DISABLE value. |
![]() ![]() | NetworkProtocol | A String constant with the PROTOCOL value. |
![]() ![]() | PacketSize | A String constant with the PACKET_SIZE value. |
![]() ![]() | reqSize | Specifies the requested property size for the server. |
![]() | serverInstanceName | Specifies the instance name for the server. |
![]() | serverName | Specifies a string that represents the name of the server. |
![]() | serverRootName | Specifies a string that represents the root name of the server. |
![]() ![]() | ServerType | The GUID for the server type. |
![]() ![]() | SqlAuthenticationType | A constant of type T:System.Int, with a value of 1. |
![]() ![]() | SqlExpressEditionNumber | A constant of type T:System.Int, with a value of 4. |
![]() ![]() | TrustedAuthenticationType | A constant of type T:System.Int, with a value of 0. |
![]() ![]() | UseCustomConnectionColor | A String constant with the USE_CUSTOM_CONNECTION_COLOR value. |
| Name | Description | |
|---|---|---|
![]() ![]() | IConnectionValidator::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. |
![]() ![]() | IServerType::GenerateImage() | Retrieves newly-instantiated icon that is displayed in the Registered Servers tree. |
![]() ![]() | IServerType::GenerateUserControl() | Retrieves a newly-instantiated user control that is displayed on the Connection Properties tab of the advanced view of the connection dialog box. |
![]() ![]() | IServerType::GetConnectionObject(UIConnectionInfo^) | Retrieves a new IDbConnection object (closed) that is based on the passed UIConnectionInfo object. |
![]() ![]() | IServerType::LoadPersonalizationInfo(UIConnectionInfo^, Boolean) | Loads any personalization information that is saved upon successful connection by using SavePersonalizationInfo. |
![]() ![]() | 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. |
![]() ![]() | 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. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






