Compartir a través de


IDTSOutputColumnCollection100.GetObjectIndexByID Método

Retrieves the location of an output column 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 IDTSOutputColumnCollection100 
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
    Specifies the ID of the output column whose index in the collection is retrieved.

Valor devuelto

Tipo: System.Int32
An Integer that specifies the location in the collection of the output column object.

Comentarios

If an output column having lID is not found in the collection, an DTS_E_OBJECTIDNOTFOUND exception occurs.

Vea también

Referencia

IDTSOutputColumnCollection100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper