Bagikan melalui


ConnectionManagerAdoNetClass Kelas

Definisi

Mewakili manajer koneksi yang menggunakan penyedia .Net untuk koneksi data.

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
Warisan
ConnectionManagerAdoNetClass
Atribut
Penerapan

Keterangan

Untuk informasi selengkapnya, lihat ConnectionManager.

Konstruktor

ConnectionManagerAdoNetClass()

Menginisialisasi instans baru kelas ConnectionManagerAdoNetClass.

Properti

ConnectionString

Mendapatkan atau mengatur string koneksi yang digunakan untuk membuat koneksi ke sumber data.

ConnectUsingManagedIdentity

Mewakili manajer koneksi yang menggunakan penyedia .Net untuk koneksi data.

InitialCatalog

Mendapatkan atau mengatur katalog awal untuk koneksi.

Password

Mendapatkan atau mengatur kata sandi untuk koneksi.

ProtectionLevel

Mendapatkan atau mengatur tingkat enkripsi yang dilakukan pada data sensitif yang terkandung dalam paket.

RetainSameConnection

Mendapatkan atau mengatur Boolean yang menunjukkan apakah manajer koneksi mempertahankan koneksi yang sama.

Scope

Mendapatkan cakupan manajer koneksi.

ServerName

Mendapatkan atau mengatur nama server.

SupportsDTCTransactions

Mendapatkan Boolean yang menunjukkan apakah koneksi mendukung transaksi Koordinator Transaksi Terdistribusi Microsoft (MS DTC).

UserName

Mendapatkan atau mengatur nama pengguna untuk koneksi.

Metode

AcquireConnection(Object)

Membuat instans jenis koneksi.

GetConnectionForSchema()

Mendapatkan koneksi untuk skema.

InitializeConnectionManager(String, IDTSInfoEvents100, IDTSLogging100)

Menginisialisasi properti instans pengelola koneksi menggunakan parameter yang diberikan.

ReleaseConnection(Object)

Membebaskan koneksi yang dibuat selama AcquireConnection(Object). Dipanggil pada waktu desain dan runtime.

SetQualifier(String)

Mengubah kualifikasi pada pengelola koneksi setelah pengelola koneksi dibuat tetapi sebelum digunakan dalam paket yang sedang berjalan.

Validate(IDTSInfoEvents100)

Memvalidasi koneksi dan mengembalikan enumerasi yang menunjukkan keberhasilan atau kegagalan.

Berlaku untuk