IDTSRuntimeConnectionCollection90.GetObjectIndexByID Method
Retrieves the index of the IDTSRuntimeConnection90 object in a collection.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Syntax
'Declaration
<DispIdAttribute(21)> _
Function GetObjectIndexByID ( _
<InAttribute> lID As Integer _
) As Integer
[DispIdAttribute(21)]
int GetObjectIndexByID (
[InAttribute] int lID
)
[DispIdAttribute(21)]
int GetObjectIndexByID (
[InAttribute] int lID
)
/** @attribute DispIdAttribute(21) */
int GetObjectIndexByID (
/** @attribute InAttribute() */ int lID
)
DispIdAttribute(21)
function GetObjectIndexByID (
lID : int
) : int
Parameters
- lID
The ID of the run-time connection.
Return Value
The location of the item in the index.
Remarks
The GetObjectIndexByID method retrieves the index in the collection of the run-time connection with the specified ID. If an object with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception occurs.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
IDTSRuntimeConnectionCollection90 Interface
IDTSRuntimeConnectionCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace