Metodo IDTSOutputColumnCollection100.GetObjectIndexByID

Retrieves the location of an output column in a collection.

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
'Utilizzo
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

Parametri

  • lID
    Tipo: System.Int32
    Specifies the ID of the output column whose index in the collection is retrieved.

Valore restituito

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

Osservazioni

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

Vedere anche

Riferimento

IDTSOutputColumnCollection100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Pipeline.Wrapper