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
參數
- lID
型別:System. . :: . .Int32
The ID of the IDTSComponentMetaData100 to retrieve from the collection.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSComponentMetaData100
The IDTSComponentMetaData100 object from the collection that has the specified ID.