Método RemoveObjectByIndex
Deletes the run-time connection at the specified index from a collection.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxe
'Declaração
Sub RemoveObjectByIndex ( _
Index As Object _
)
'Uso
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
)
Parâmetros
- Index
Tipo: System. . :: . .Object
The location of the IDTSRuntimeConnection100 object to delete from the collection.
Comentários
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.
Consulte também