SqlServerCeType Class
Implements the connection dialog box interfaces for SQL Server Compact 3.5 server type connections.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerCeType
Namespace: Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly: ConnectionDlg (in ConnectionDlg.dll)
Syntax
'Declaration
<RegisterServerHelpKeyWordAttribute("sql11.swb.registerserver.general.sqlce.f1")> _
<CLSCompliantAttribute(False)> _
<AdvancedViewHelpKeyWordAttribute("sql11.swb.connecttoce.f1")> _
<HelpKeyWordAttribute("sql11.swb.connection.login.sqlce.f1")> _
Public NotInheritable Class SqlServerCeType _
Implements IServerType2, IServerType
'Usage
Dim instance As SqlServerCeType
[RegisterServerHelpKeyWordAttribute("sql11.swb.registerserver.general.sqlce.f1")]
[CLSCompliantAttribute(false)]
[AdvancedViewHelpKeyWordAttribute("sql11.swb.connecttoce.f1")]
[HelpKeyWordAttribute("sql11.swb.connection.login.sqlce.f1")]
public sealed class SqlServerCeType : IServerType2,
IServerType
[RegisterServerHelpKeyWordAttribute(L"sql11.swb.registerserver.general.sqlce.f1")]
[CLSCompliantAttribute(false)]
[AdvancedViewHelpKeyWordAttribute(L"sql11.swb.connecttoce.f1")]
[HelpKeyWordAttribute(L"sql11.swb.connection.login.sqlce.f1")]
public ref class SqlServerCeType sealed : IServerType2,
IServerType
[<SealedAttribute>]
[<RegisterServerHelpKeyWordAttribute("sql11.swb.registerserver.general.sqlce.f1")>]
[<CLSCompliantAttribute(false)>]
[<AdvancedViewHelpKeyWordAttribute("sql11.swb.connecttoce.f1")>]
[<HelpKeyWordAttribute("sql11.swb.connection.login.sqlce.f1")>]
type SqlServerCeType =
class
interface IServerType2
interface IServerType
end
public final class SqlServerCeType implements IServerType2, IServerType
The SqlServerCeType type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlServerCeType | Initializes a new instance of the SqlServerCeType class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
ConnectionTimeout | A String constant with the CONNECTION_TIMEOUT value. | |
DefaultLockEscalation | A String constant with the DEFAULT_LOCK_ESCALATION value. | |
ExecutionTimeout | A String constant with the EXEC_TIMEOUT value. | |
MaxDatabaseSize | A String constant with the MAX_DATABASE_SIZE value. | |
ServerType | The GUID for the server type. | |
SqlCeAuthenticationType | A constant of type Int, with a value of 2. | |
TrustedAuthenticationType | A constant of type Int, with a value of 0. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServerType.AuthenticationInfoCollection | Gets a table that contains the authentication labels that are used to populate the simple view of the connection dialog box. | |
IServerType.GenerateImage | Retrieves a 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 | Returns a new IDbConnection object (closed) that is based on the passed UIConnectionInfo object. | |
IServerType.LoadPersonalizationInfo | Loads any personalization information that was saved upon successful connection by using SavePersonalizationInfo. | |
IServerType.ProceedWithConnection | Used when a server type needs to perform additional processing steps. | |
IServerType.RequestedPropertySize | Gets the size that the custom user control needs to render correctly. This is used by 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. | |
IServerType.SavePersonalizationInfo | 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. | |
IServerType.ServerGroupName | Gets the name of the server group root node for the server type. | |
IServerType.ServerInstanceName | Gets the instance name of the server. | |
IServerType.ServerType | Gets the server type for the instance of SQL Server. | |
IServerType.ServerTypeName | Gets the string that is exposed to the user in the Server type combo box. | |
IServerType2.CustomBrowseAction | Implements SQL CE custom browse action. This is called when the user clicks Browse in the server combo box. | |
IServerType2.CustomNewDatabaseAction | Implements SQL CE custom new database action. This is called when the user clicks New Database in the server combo box. | |
IServerType2.Owner | Gets or sets a value that owns the control. | |
IServerType2.SupportsCustomBrowseAction | Gets a value indicating whether the SQL Server CE supports custom browse action. | |
IServerType2.SupportsCustomNewDatabaseAction | Gets a value indicating whether the SQL Server CE supports database creation from within the connection dialog box. | |
IServerType2.SupportsUserNameNotion | Gets a value indicating whether the user name notion is not supported in case of SQL Server CE. |
Top
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.