Share via


ConnectionManagerAdoNetClass Class

Definition

Represents a connection manager that utilizes .Net provider for the data connection.

public ref class ConnectionManagerAdoNetClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerAdoNet, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerDatabaseParameters100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerInit100
public ref class ConnectionManagerAdoNetClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerAdoNet, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerDatabaseParameters100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerInit100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerManagedIdentity140
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("5C9E27BC-DF64-48F1-855E-92EF415C638C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerAdoNetClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdoNet, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerInit100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("58297D74-0AC9-4659-B8EE-D5B38CAA686F")]
public class ConnectionManagerAdoNetClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdoNet, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerInit100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("89249836-8DE6-4404-9CCD-C6E6ED9413B1")]
public class ConnectionManagerAdoNetClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdoNet, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerInit100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerManagedIdentity140
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("5C9E27BC-DF64-48F1-855E-92EF415C638C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerAdoNetClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerAdoNet
    interface IDTSConnectionManagerInit100
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("58297D74-0AC9-4659-B8EE-D5B38CAA686F")>]
type ConnectionManagerAdoNetClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerAdoNet
    interface IDTSConnectionManagerInit100
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("89249836-8DE6-4404-9CCD-C6E6ED9413B1")>]
type ConnectionManagerAdoNetClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerAdoNet
    interface IDTSConnectionManagerInit100
    interface IDTSConnectionManagerDatabaseParameters100
    interface IDTSConnectionManagerManagedIdentity140
Public Class ConnectionManagerAdoNetClass
Implements ConnectionManagerAdoNet, IDTSConnectionManagerDatabaseParameters100, IDTSConnectionManagerInit100
Public Class ConnectionManagerAdoNetClass
Implements ConnectionManagerAdoNet, IDTSConnectionManagerDatabaseParameters100, IDTSConnectionManagerInit100, IDTSConnectionManagerManagedIdentity140
Inheritance
ConnectionManagerAdoNetClass
Attributes
Implements

Remarks

For more information, see ConnectionManager.

Constructors

ConnectionManagerAdoNetClass()

Initializes a new instance of the ConnectionManagerAdoNetClass class.

Properties

ConnectionString

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

ConnectUsingManagedIdentity
InitialCatalog

Gets or sets the initial catalog for the connection.

Password

Gets or sets the password for the connection.

ProtectionLevel

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

RetainSameConnection

Gets or sets a Boolean that indicates whether the connection manager retains the same connection.

Scope

Gets the scope of the connection manager.

ServerName

Gets or sets the server name.

SupportsDTCTransactions

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

UserName

Gets or sets the username for the connection.

Methods

AcquireConnection(Object)

Creates an instance of the connection type.

GetConnectionForSchema()

Gets the connection for the schema.

InitializeConnectionManager(String, IDTSInfoEvents100, IDTSLogging100)

Initializes the properties of the connection manager instance using the given parameters.

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