Condividi tramite


IDTSOutputColumnCollection90.GetObjectIndexByID Method

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
<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

Parametri

  • lID
    Specifies the ID of the output column whose index in the collection is retrieved.

Valore restituito

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.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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