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
)
參數
- lID
型別:System. . :: . .Int32
The ID of the input to remove.
備註
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.