IDTSRuntimeConnectionCollection100.GetObjectIndexByID Método
Retrieves the index of the IDTSRuntimeConnection100 object in a collection.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxis
'Declaración
Function GetObjectIndexByID ( _
lID As Integer _
) As Integer
'Uso
Dim instance As IDTSRuntimeConnectionCollection100
Dim lID As Integer
Dim returnValue As Integer
returnValue = instance.GetObjectIndexByID(lID)
int GetObjectIndexByID(
int lID
)
int GetObjectIndexByID(
[InAttribute] int lID
)
abstract GetObjectIndexByID :
lID:int -> int
function GetObjectIndexByID(
lID : int
) : int
Parámetros
- lID
Tipo: System.Int32
The ID of the run-time connection.
Valor devuelto
Tipo: System.Int32
The location of the item in the index.
Comentarios
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.