Bagikan melalui


IDTSRuntimeConnectionCollection100.Item[Object] Properti

Definisi

Mendapatkan objek yang IDTSRuntimeConnection100 ditentukan oleh Index parameter .

public:
 property Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ default[System::Object ^] { Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ get(System::Object ^ Index); };
[System.Runtime.InteropServices.DispId(0)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100 this[object Index] { [System.Runtime.InteropServices.DispId(0)] get; }
[<System.Runtime.InteropServices.DispId(0)>]
[<get: System.Runtime.InteropServices.DispId(0)>]
member this.Item(obj) : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
Default Public ReadOnly Property Item(Index As Object) As IDTSRuntimeConnection100

Parameter

Index
Object

Nama atau indeks koneksi yang akan diambil.

Nilai Properti

IDTSRuntimeConnection100 yang ditentukan oleh Index parameter .

Atribut

Keterangan

Metode ini GetObjectByID mengambil objek koneksi run-time yang cocok dengan Index parameter . Jika input tidak ada yang cocok, pengecualian Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX akan dilemparkan.

Berlaku untuk