共用方式為


IDTSObjectModel100.GetObjectByID 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Retrieves the object by ID that is contained in a data flow task.

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

語法

'宣告
Function GetObjectByID ( _
    lID As Integer _
) As IDTSObject100
'用途
Dim instance As IDTSObjectModel100 
Dim lID As Integer 
Dim returnValue As IDTSObject100 

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

參數

  • lID
    型別:System.Int32
    The ID of the object to retrieve.

傳回值

型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
The IDTSObject100 object with the specified ID.

請參閱

參考

IDTSObjectModel100 介面

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