Compartir a través de


IDTSInputCollection90.GetObjectIndexByID Method

Retrieves the index of the IDTSInput90 object in a collection.

Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintaxis

'Declaración
<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

Parámetros

  • lID
    The ID of the input object.

Valor devuelto

An Integer that indicates the location of the item in the index.

Notas

The GetObjectIndexByID method retrieves the index in the input collection of the input having the ID specified by the lID parameter. If an input with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception occurs.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

IDTSInputCollection90 Interface
IDTSInputCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace