Share via


DtsServerType Class

Displays the description for the Data Transformation Services (DTS) server type and its properties.

This API is not CLS-compliant. 

Inheritance Hierarchy

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

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

Syntax

'Declaration
<RegisterServerHelpKeyWordAttribute("sql105.swb.registerserver.general.dts.f1")> _
<CLSCompliantAttribute(False)> _
<HelpKeyWordAttribute("sql105.swb.connection.login.dtsserver.f1")> _
<AdvancedViewHelpKeyWordAttribute("sql105.swb.connecttodtsserver.login.f1")> _
Public Class DtsServerType _
    Implements IServerType2, IServerType
'Usage
Dim instance As DtsServerType
[RegisterServerHelpKeyWordAttribute("sql105.swb.registerserver.general.dts.f1")]
[CLSCompliantAttribute(false)]
[HelpKeyWordAttribute("sql105.swb.connection.login.dtsserver.f1")]
[AdvancedViewHelpKeyWordAttribute("sql105.swb.connecttodtsserver.login.f1")]
public class DtsServerType : IServerType2, 
    IServerType
[RegisterServerHelpKeyWordAttribute(L"sql105.swb.registerserver.general.dts.f1")]
[CLSCompliantAttribute(false)]
[HelpKeyWordAttribute(L"sql105.swb.connection.login.dtsserver.f1")]
[AdvancedViewHelpKeyWordAttribute(L"sql105.swb.connecttodtsserver.login.f1")]
public ref class DtsServerType : IServerType2, 
    IServerType
[<RegisterServerHelpKeyWordAttribute("sql105.swb.registerserver.general.dts.f1")>]
[<CLSCompliantAttribute(false)>]
[<HelpKeyWordAttribute("sql105.swb.connection.login.dtsserver.f1")>]
[<AdvancedViewHelpKeyWordAttribute("sql105.swb.connecttodtsserver.login.f1")>]
type DtsServerType =  
    class
        interface IServerType2
        interface IServerType
    end
public class DtsServerType implements IServerType2, IServerType

The DtsServerType type exposes the following members.

Constructors

  Name Description
Public method DtsServerType Initializes a new instance of the DtsServerType class.

Top

Properties

  Name Description
Public propertyStatic member IsEnabled Gets a value that indicates whether server connection is enabled.

Top

Methods

  Name Description
Public methodStatic member CreateSqlOlapConnectionInfoBase Creates the Data Transformation Services (DTS) connection information object.
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
Protected field authCollection Defines the collection of authentication of the control.
Public fieldStatic member ServerType Defines a value that specifies the type of the server.
Public fieldStatic member TrustedAuthenticationType Defines an integer that indicates the trusted type of authentication. This field is constant.

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 Returns a newly-instantiated icon that is displayed in the Registered Servers tree.
Explicit interface implemetationPrivate method IServerType.GenerateUserControl Returns 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 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. The personalization information is uniquely identified by a combination of server type, server name, authentication type, and user name.
Explicit interface implemetationPrivate method IServerType.ProceedWithConnection Indicates whether the connection can continue, or whether the connection dialog box should remain on the screen.
Explicit interface implemetationPrivate property IServerType.RequestedPropertySize Gets the requested property size of the server using Size.
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. Used in the Registered Servers user interface.
Explicit interface implemetationPrivate property IServerType.ServerInstanceName Gets the instance name of the server.
Explicit interface implemetationPrivate property IServerType.ServerType Gets the server type of the server using a globally unique identifier (GUID).
Explicit interface implemetationPrivate property IServerType.ServerTypeName Gets the specified name of the ServerType.
Explicit interface implemetationPrivate method IServerType2.CustomBrowseAction Executes when the user browses in the server combo.
Explicit interface implemetationPrivate method IServerType2.CustomNewDatabaseAction Executes when users selects the NewDatabaseAction object in the server combo.
Explicit interface implemetationPrivate property IServerType2.Owner Gets or sets the owner control that passes the owner handle to child windows.
Explicit interface implemetationPrivate property IServerType2.SupportsCustomBrowseAction Gets a value that indicates whether the instance of this server type wants to specify the custom action when the user selects the custom browse action in the server combo.
Explicit interface implemetationPrivate property IServerType2.SupportsCustomNewDatabaseAction Gets a value that indicates whether the server name combo on the Login tab contains a NewDatabaseAction option.
Explicit interface implemetationPrivate property IServerType2.SupportsUserNameNotion Gets a value that indicates whether the user name combo on the Login tab is enabled.

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.