Bagikan melalui


IDTSRuntimeConnectionCollection100.RemoveObjectByID(Int32) Metode

Definisi

Menghapus objek koneksi yang ditentukan dari koleksi.

public:
 void RemoveObjectByID(int lID);
[System.Runtime.InteropServices.DispId(17)]
public void RemoveObjectByID (int lID);
[<System.Runtime.InteropServices.DispId(17)>]
abstract member RemoveObjectByID : int -> unit
Public Sub RemoveObjectByID (lID As Integer)

Parameter

lID
Int32

ID objek yang IDTSRuntimeConnection100 akan dihapus.

Atribut

Keterangan

Metode RemoveObjectByID menghapus objek koneksi run-time dengan ID yang ditentukan dari koleksi. Jika koneksi run-time dengan ID yang ditentukan tidak ada, pengecualian Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX terjadi.

Berlaku untuk