Partager via


IDTSExternalMetadataColumnCollection90.GetObjectIndexByID Method

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

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
<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

Paramètres

  • lID
    The id of the column whose index is retrieved.

Valeur de retour

An integer that contains the location of the IDTSExternalMetadataColumn90 in the zero-based collection.

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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