ConnectionManagerHostClass Kelas

Definisi

Mewakili pengelola koneksi yang tersambung ke host tugas.

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

Keterangan

Untuk informasi selengkapnya, lihat ConnectionManager.

Konstruktor

ConnectionManagerHostClass()

Menginisialisasi instans baru kelas ConnectionManagerHostClass.

Properti

ConnectionString

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

CreationName

Mendapatkan string yang digunakan oleh runtime untuk membuat instans ConnectionManagerHostClass objek. Properti ini bersifat hanya baca.

DelayValidation

Mendapatkan atau mengatur Boolean yang menunjukkan apakah validasi paket tertunda hingga paket berjalan.

Description

Mendapatkan atau mengatur deskripsi ConnectionManagerHostClass objek.

HostType

Mendapatkan enumerasi yang menjelaskan jenis host yang digunakan oleh koneksi. Properti ini bersifat hanya baca.

ID

Mendapatkan ID dari ConnectionManagerHostClass. Properti ini bersifat hanya baca.

InnerObject

Mendapatkan jenis koneksi tertentu yang dibuat. Properti ini bersifat hanya baca.

Name

Mendapatkan atau mengatur nama ConnectionManagerHostClass objek.

ProtectionLevel

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

Scope

Mendapatkan cakupan manajer koneksi.

SupportsDTCTransactions

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

Metode

AcquireConnection(Object)

Membuat instans jenis koneksi.

ReleaseConnection(Object)

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

SetQualifier(String)

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

Validate(IDTSInfoEvents100)

Memvalidasi koneksi dan mengembalikan enumerasi yang menunjukkan keberhasilan atau kegagalan.

Berlaku untuk