Metodo IDTSExternalMetadataColumnCollection100.GetObjectIndexByID

Gets the index of an IDTSExternalMetadataColumn100 object that has the specified ID.

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 IDTSExternalMetadataColumnCollection100 
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
    The id of the column whose index is retrieved.

Valore restituito

Tipo: System.Int32
An integer that contains the location of the IDTSExternalMetadataColumn100 in the zero-based collection.

Osservazioni

If the external metadata column specified by the lID parameter is not found in the collection, a DTS_E_ELEMENTNOTFOUND exception occurs.

Vedere anche

Riferimento

IDTSExternalMetadataColumnCollection100 Interfaccia

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