共用方式為


GetObjectIndexByID 方法

Retrieves the location in an IDTSComponentMetaDataCollection100 collection of an IDTSComponentMetaData100 object.

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

語法

'宣告
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
'用途
Dim instance As IDTSComponentMetaDataCollection100
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

參數

傳回值

型別:System. . :: . .Int32
An Integer that contains the location in the IDTSComponentMetaDataCollection100 of the IDTSComponentMetaData100 object.