GetObjectByID 方法

Retrieves an IDTSComponentMetaData100 object from an IDTSComponentMetaDataCollection100 collection.

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

语法

声明
Function GetObjectByID ( _
    lID As Integer _
) As IDTSComponentMetaData100
用法
Dim instance As IDTSComponentMetaDataCollection100
Dim lID As Integer
Dim returnValue As IDTSComponentMetaData100

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

参数

返回值

类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSComponentMetaData100
The IDTSComponentMetaData100 object from the collection that has the specified ID.