IDTSOutputColumnCollection100.GetObjectIndexByID 方法

Retrieves the location of an output column in a collection.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
用法
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

参数

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

返回值

类型:System.Int32
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.

请参阅

参考

IDTSOutputColumnCollection100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间