Export (0) Print
Expand All

SqlServerCeType Class

Implements the connection dialog box interfaces for SQL Server Compact 3.5 server type connections.

This API is not CLS-compliant. 

Object
  Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerCeType

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

[CLSCompliantAttribute(false)]
[AdvancedViewHelpKeyWordAttribute("sql12.swb.connecttoce.f1")]
[HelpKeyWordAttribute("sql12.swb.connection.login.sqlce.f1")]
[RegisterServerHelpKeyWordAttribute("sql12.swb.registerserver.general.sqlce.f1")]
public sealed class SqlServerCeType : IServerType2, 
	IServerType

The SqlServerCeType type exposes the following members.

  NameDescription
Public methodSqlServerCeTypeInitializes a new instance of the SqlServerCeType class.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberConnectionTimeoutA String constant with the CONNECTION_TIMEOUT value.
Public fieldStatic memberDefaultLockEscalationA String constant with the DEFAULT_LOCK_ESCALATION value.
Public fieldStatic memberExecutionTimeoutA String constant with the EXEC_TIMEOUT value.
Public fieldStatic memberMaxDatabaseSizeA String constant with the MAX_DATABASE_SIZE value.
Public fieldStatic memberServerTypeThe GUID for the server type.
Public fieldStatic memberSqlCeAuthenticationTypeA constant of type Int, with a value of 2.
Public fieldStatic memberTrustedAuthenticationTypeA constant of type Int, with a value of 0.
Top

  NameDescription
Explicit interface implemetationPrivate propertyIServerType.AuthenticationInfoCollectionGets a table that contains the authentication labels that are used to populate the simple view of the connection dialog box.
Explicit interface implemetationPrivate methodIServerType.GenerateImageRetrieves a newly-instantiated icon that is displayed in the Registered Servers tree.
Explicit interface implemetationPrivate methodIServerType.GenerateUserControlRetrieves 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 methodIServerType.GetConnectionObjectReturns a new IDbConnection object (closed) that is based on the passed UIConnectionInfo object.
Explicit interface implemetationPrivate methodIServerType.LoadPersonalizationInfoLoads any personalization information that was saved upon successful connection by using SavePersonalizationInfo.
Explicit interface implemetationPrivate methodIServerType.ProceedWithConnectionUsed when a server type needs to perform additional processing steps.
Explicit interface implemetationPrivate propertyIServerType.RequestedPropertySizeGets 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 methodIServerType.SavePersonalizationInfoSaves 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 propertyIServerType.ServerGroupNameGets the name of the server group root node for the server type.
Explicit interface implemetationPrivate propertyIServerType.ServerInstanceNameGets the instance name of the server.
Explicit interface implemetationPrivate propertyIServerType.ServerTypeGets the server type for the instance of SQL Server.
Explicit interface implemetationPrivate propertyIServerType.ServerTypeNameGets the string that is exposed to the user in the Server type combo box.
Explicit interface implemetationPrivate methodIServerType2.CustomBrowseActionImplements SQL CE custom browse action. This is called when the user clicks Browse in the server combo box.
Explicit interface implemetationPrivate methodIServerType2.CustomNewDatabaseActionImplements SQL CE custom new database action. This is called when the user clicks New Database in the server combo box.
Explicit interface implemetationPrivate propertyIServerType2.OwnerGets or sets a value that owns the control.
Explicit interface implemetationPrivate propertyIServerType2.SupportsCustomBrowseActionGets a value indicating whether the SQL Server CE supports custom browse action.
Explicit interface implemetationPrivate propertyIServerType2.SupportsCustomNewDatabaseActionGets a value indicating whether the SQL Server CE supports database creation from within the connection dialog box.
Explicit interface implemetationPrivate propertyIServerType2.SupportsUserNameNotionGets a value indicating whether the user name notion is not supported in case of SQL Server CE.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft