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("sql105.swb.registerserver.general.sqlce.f1")> _
<HelpKeyWordAttribute("sql105.swb.connection.login.sqlce.f1")> _
<AdvancedViewHelpKeyWordAttribute("sql105.swb.connecttoce.f1")> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class SqlServerCeType _
    Implements IServerType2, IServerType
'Usage
Dim instance As SqlServerCeType
[RegisterServerHelpKeyWordAttribute("sql105.swb.registerserver.general.sqlce.f1")]
[HelpKeyWordAttribute("sql105.swb.connection.login.sqlce.f1")]
[AdvancedViewHelpKeyWordAttribute("sql105.swb.connecttoce.f1")]
[CLSCompliantAttribute(false)]
public sealed class SqlServerCeType : IServerType2, 
    IServerType
[RegisterServerHelpKeyWordAttribute(L"sql105.swb.registerserver.general.sqlce.f1")]
[HelpKeyWordAttribute(L"sql105.swb.connection.login.sqlce.f1")]
[AdvancedViewHelpKeyWordAttribute(L"sql105.swb.connecttoce.f1")]
[CLSCompliantAttribute(false)]
public ref class SqlServerCeType sealed : IServerType2, 
    IServerType
[<SealedAttribute>]
[<RegisterServerHelpKeyWordAttribute("sql105.swb.registerserver.general.sqlce.f1")>]
[<HelpKeyWordAttribute("sql105.swb.connection.login.sqlce.f1")>]
[<AdvancedViewHelpKeyWordAttribute("sql105.swb.connecttoce.f1")>]
[<CLSCompliantAttribute(false)>]
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
Public method SqlServerCeType Initializes a new instance of the SqlServerCeType class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ConnectionTimeout A String constant with the CONNECTION_TIMEOUT value.
Public fieldStatic member DefaultLockEscalation A String constant with the DEFAULT_LOCK_ESCALATION value.
Public fieldStatic member ExecutionTimeout A String constant with the EXEC_TIMEOUT value.
Public fieldStatic member MaxDatabaseSize A String constant with the MAX_DATABASE_SIZE value.
Public fieldStatic member ServerType The GUID for the server type.
Public fieldStatic member SqlCeAuthenticationType A constant of type Int, with a value of 2.
Public fieldStatic member TrustedAuthenticationType A constant of type Int, with a value of 0.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IServerType.AuthenticationInfoCollection Gets a table that contains the authentication labels that are used to populate the simple view of the connection dialog box.
Explicit interface implemetationPrivate method IServerType.GenerateImage Retrieves a newly-instantiated icon that is displayed in the Registered Servers tree.
Explicit interface implemetationPrivate method 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.
Explicit interface implemetationPrivate method IServerType.GetConnectionObject Returns a new IDbConnection object (closed) that is based on the passed UIConnectionInfo object.
Explicit interface implemetationPrivate method IServerType.LoadPersonalizationInfo Loads any personalization information that was saved upon successful connection by using SavePersonalizationInfo.
Explicit interface implemetationPrivate method IServerType.ProceedWithConnection Used when a server type needs to perform additional processing steps.
Explicit interface implemetationPrivate property 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.
Explicit interface implemetationPrivate method 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.
Explicit interface implemetationPrivate property IServerType.ServerGroupName Gets the name of the server group root node for the server type.
Explicit interface implemetationPrivate property IServerType.ServerInstanceName Gets the instance name of the server.
Explicit interface implemetationPrivate property IServerType.ServerType Gets the server type for the instance of SQL Server.
Explicit interface implemetationPrivate property IServerType.ServerTypeName Gets the string that is exposed to the user in the Server type combo box.
Explicit interface implemetationPrivate method IServerType2.CustomBrowseAction Implements SQL CE custom browse action. This is called when the user clicks Browse in the server combo box.
Explicit interface implemetationPrivate method IServerType2.CustomNewDatabaseAction Implements SQL CE custom new database action. This is called when the user clicks New Database in the server combo box.
Explicit interface implemetationPrivate property IServerType2.Owner Gets or sets a value that owns the control.
Explicit interface implemetationPrivate property IServerType2.SupportsCustomBrowseAction Gets a value indicating whether the SQL Server CE supports custom browse action.
Explicit interface implemetationPrivate property IServerType2.SupportsCustomNewDatabaseAction Gets a value indicating whether the SQL Server CE supports database creation from within the connection dialog box.
Explicit interface implemetationPrivate property 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.