Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified connection object from a collection.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntax
'Declaration
Sub RemoveObjectByID ( _
lID As Integer _
)
'Usage
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
)
Parameters
- lID
Type: System.Int32
The ID of the IDTSRuntimeConnection100 object to remove.
Remarks
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.