IDTSInputCollection100.RemoveObjectByID(Int32) 方法

定義

移除集合中以識別碼指定的輸入物件。

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)

參數

lID
Int32

要移除之輸入的識別碼。

屬性

備註

RemoveObjectByID方法會從集合中刪除具有指定之識別碼的輸入物件。 如果不存在具有指定識別碼的輸入,就會發生 Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX 例外狀況。

適用於