IDTSRuntimeConnectionCollection100.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

要删除的 IDTSRuntimeConnection100 对象的 ID。

属性

注解

该方法 RemoveObjectByID 从集合中删除具有指定 ID 的运行时连接对象。 如果不存在具有指定 ID 的运行时连接,则会发生Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX异常。

适用于