IDTSOutputColumnCollection90.GetObjectIndexByID Method

Retrieves the location of an output column in a collection.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<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

參數

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

傳回值

An Integer that specifies the location in the collection of the output column object.

備註

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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