共用方式為


ConnectionManagerAdoClass Class

Definition

Provides the connection information to a data source.

public ref class ConnectionManagerAdoClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerAdo, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerDatabaseParameters100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("4696FBDD-C1BC-4009-AABD-D2AE31E24F0D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerAdoClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdo, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("9886B70F-B8DD-49C3-BD50-85D9B6A88A72")]
public class ConnectionManagerAdoClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdo, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("919E895E-830F-4F4B-828C-1CD881513C2C")]
public class ConnectionManagerAdoClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdo, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("4696FBDD-C1BC-4009-AABD-D2AE31E24F0D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerAdoClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerAdo
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("9886B70F-B8DD-49C3-BD50-85D9B6A88A72")>]
type ConnectionManagerAdoClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerAdo
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("919E895E-830F-4F4B-828C-1CD881513C2C")>]
type ConnectionManagerAdoClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerAdo
    interface IDTSConnectionManagerDatabaseParameters100
Public Class ConnectionManagerAdoClass
Implements ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
Inheritance
ConnectionManagerAdoClass
Attributes
Implements

Constructors

ConnectionManagerAdoClass()

Initializes a new instance of the ConnectionManagerAdoClass class.

Properties

ConnectionString

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

InitialCatalog

Gets or sets the value of the initial catalog.

Password

Sets the connection password.

ProtectionLevel

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

RetainSameConnection

Gets or sets whether the connection retains the same connection.

Scope

Gets the scope of the connection manager.

ServerName

Gets or sets the name of the server.

SupportsDTCTransactions

Returns a Boolean that indicates if 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()

Returns the connection for the schema.

ReleaseConnection(Object)

Frees the connection established during AcquireConnection. 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.

Applies to