Compartir a través de


RemoveObjectByID Método

Removes the specified connection object from a collection.

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Sub RemoveObjectByID ( _
    lID As Integer _
)
'Uso
Dim instance As IDTSRuntimeConnectionCollection100
Dim lID As Integer

instance.RemoveObjectByID(lID)
void RemoveObjectByID(
    int lID
)
void RemoveObjectByID(
    [InAttribute] int lID
)
abstract RemoveObjectByID : 
        lID:int -> unit 
function RemoveObjectByID(
    lID : int
)

Parámetros

Comentarios

The RemoveObjectByID method deletes the run-time connection object with the specified ID from the collection. If a run-time connection with the specified ID does not exist, an Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.