IDTSRuntimeConnectionCollection100.RemoveObjectByID(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中删除指定的连接对象。
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异常。