共用方式為


IDTSRuntimeConnectionCollection100.RemoveObjectByIndex 方法

Deletes the run-time connection at the specified index from a collection.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub RemoveObjectByIndex ( _
    Index As Object _
)
'用途
Dim instance As IDTSRuntimeConnectionCollection100 
Dim Index As Object

instance.RemoveObjectByIndex(Index)
void RemoveObjectByIndex(
    Object Index
)
void RemoveObjectByIndex(
    [InAttribute] Object^ Index
)
abstract RemoveObjectByIndex : 
        Index:Object -> unit
function RemoveObjectByIndex(
    Index : Object
)

參數

備註

The RemoveObjectByIndex method deletes the run-time connection at the location in the collection specified by the Index parameter. If the Index is outside the bounds of the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.

請參閱

參考

IDTSRuntimeConnectionCollection100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間