RemoveObjectByID 方法
Removes the specified connection object from a collection.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Sub RemoveObjectByID ( _
lID As Integer _
)
用法
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
)
参数
- lID
类型:System. . :: . .Int32
The ID of the IDTSRuntimeConnection100 object to remove.
注释
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.