IDTSRuntimeConnectionCollection100.RemoveObjectByID(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified connection object from a collection.
public:
void RemoveObjectByID(int lID);
[System.Runtime.InteropServices.DispId(17)]
public void RemoveObjectByID (int lID);
[<System.Runtime.InteropServices.DispId(17)>]
abstract member RemoveObjectByID : int -> unit
Public Sub RemoveObjectByID (lID As Integer)
Parameters
- lID
- Int32
The ID of the IDTSRuntimeConnection100 object to remove.
- Attributes
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.