Share via


ConnectionManagerHostClass Class

Definition

Represents a connection manager that connects to a task host.

public ref class ConnectionManagerHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerHost, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManager100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("0E06FA4E-C1AA-4EB5-9251-6CE59300EDD9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("C56B9432-0D62-4F6B-9843-6EEE5977A58F")]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B3D2C3B7-1782-41D5-BC77-7FCE63B9C8AE")]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("0E06FA4E-C1AA-4EB5-9251-6CE59300EDD9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("C56B9432-0D62-4F6B-9843-6EEE5977A58F")>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B3D2C3B7-1782-41D5-BC77-7FCE63B9C8AE")>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
Public Class ConnectionManagerHostClass
Implements ConnectionManagerHost, IDTSConnectionManager100, IDTSObjectHost100
Inheritance
ConnectionManagerHostClass
Attributes
Implements

Remarks

For more information, see ConnectionManager.

Constructors

ConnectionManagerHostClass()

Initializes a new instance of the ConnectionManagerHostClass class.

Properties

ConnectionString

Gets or sets the connection string used to establish a connection to a data source.

CreationName

Gets the string that is used by the runtime to create an instance of the ConnectionManagerHostClass object. This property is read-only.

DelayValidation

Gets or sets a Boolean that indicates whether package validation is delayed until the package runs.

Description

Gets or sets the description of the ConnectionManagerHostClass object.

HostType

Gets an enumeration that describes the type of host that the connection is being used by. This property is read-only.

ID

Gets the ID of the ConnectionManagerHostClass. This property is read-only.

InnerObject

Gets the specific connection type that was created. This property is read-only.

Name

Gets or sets the name of the ConnectionManagerHostClass object.

ProtectionLevel

Gets or sets the level of encryption performed on sensitive data that is contained in the package.

Scope

Gets the scope of the connection manager.

SupportsDTCTransactions

Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.

Methods

AcquireConnection(Object)

Creates an instance of the connection type.

ReleaseConnection(Object)

Frees the connection established during AcquireConnection(Object). Called at design time and runtime.

SetQualifier(String)

Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.

Validate(IDTSInfoEvents100)

Validates the connection and returns an enumeration that indicates success or failure.

Applies to