共用方式為


FindObjectIndexByID 方法

Locates the index of the requested object in a collection by its ID.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function FindObjectIndexByID ( _
    lID As Integer _
) As Integer
'用途
Dim instance As IDTSInputCollection100
Dim lID As Integer
Dim returnValue As Integer

returnValue = instance.FindObjectIndexByID(lID)
int FindObjectIndexByID(
    int lID
)
int FindObjectIndexByID(
    [InAttribute] int lID
)
abstract FindObjectIndexByID : 
        lID:int -> int 
function FindObjectIndexByID(
    lID : int
) : int

參數

傳回值

型別:System. . :: . .Int32
The index of the object.