Поделиться через


Метод RemoveObjectByID

Removes an input object specified by its ID from a collection.

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка:  Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)

Синтаксис

'Декларация
Sub RemoveObjectByID ( _
    lID As Integer _
)
'Применение
Dim instance As IDTSInputCollection100
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
)

Параметры

Замечания

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