Share via


IDTSRuntimeConnectionCollection100.RemoveObjectByIndex(Object) 方法

定义

从集合中的指定位置处删除运行时连接。

public:
 void RemoveObjectByIndex(System::Object ^ Index);
[System.Runtime.InteropServices.DispId(16)]
public void RemoveObjectByIndex (object Index);
[<System.Runtime.InteropServices.DispId(16)>]
abstract member RemoveObjectByIndex : obj -> unit
Public Sub RemoveObjectByIndex (Index As Object)

参数

Index
Object

要从集合中删除的 IDTSRuntimeConnection100 对象的位置。

属性

注解

该方法 RemoveObjectByIndex 删除参数指定的 Index 集合中位置的运行时连接。 如果索引超出集合边界,则会发生Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX异常。

适用于