ConnectionManagerExcelClass Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mewakili pengelola koneksi yang tersambung ke file buku kerja Excel.
public ref class ConnectionManagerExcelClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerExcel, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerDatabaseParameters100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerExcel100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("223D2E6E-492B-4866-9C9E-07FF3665D089")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerExcelClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerExcel, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerExcel100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("3E63BCE0-F56D-47B5-B884-61675F44D511")]
public class ConnectionManagerExcelClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerExcel, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerExcel100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("8FF0D90E-21F9-4705-AA95-CC2304469315")]
public class ConnectionManagerExcelClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerExcel, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerExcel100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("223D2E6E-492B-4866-9C9E-07FF3665D089")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerExcelClass = class
interface IDTSConnectionManager100
interface ConnectionManagerExcel
interface IDTSConnectionManagerExcel100
interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("3E63BCE0-F56D-47B5-B884-61675F44D511")>]
type ConnectionManagerExcelClass = class
interface IDTSConnectionManager100
interface ConnectionManagerExcel
interface IDTSConnectionManagerExcel100
interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("8FF0D90E-21F9-4705-AA95-CC2304469315")>]
type ConnectionManagerExcelClass = class
interface IDTSConnectionManager100
interface ConnectionManagerExcel
interface IDTSConnectionManagerExcel100
interface IDTSConnectionManagerDatabaseParameters100
Public Class ConnectionManagerExcelClass
Implements ConnectionManagerExcel, IDTSConnectionManagerDatabaseParameters100, IDTSConnectionManagerExcel100
- Warisan
-
ConnectionManagerExcelClass
- Atribut
- Penerapan
Keterangan
Untuk informasi selengkapnya, lihat ConnectionManager.
Konstruktor
ConnectionManagerExcelClass() |
Menginisialisasi instans baru kelas ConnectionManagerExcelClass. |
Properti
ConnectionString |
Mendapatkan atau mengatur string koneksi yang digunakan untuk membuat koneksi ke sumber data. |
ExcelFilePath |
Mendapatkan atau mengatur jalur file buku kerja Excel. |
ExcelVersionNumber |
Mendapatkan atau mengatur versi Excel yang digunakan untuk membuat file. |
FirstRowHasColumnName |
Mendapatkan atau mengatur Boolean yang menunjukkan apakah yang pertama berisi nama kolom. |
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. |
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. |