GetObjectByID 方法

Retrieves an object contained in a data flow task.

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

语法

声明
Public Overridable Function GetObjectByID ( _
    lID As Integer _
) As IDTSObject100
用法
Dim instance As MainPipeClass
Dim lID As Integer
Dim returnValue As IDTSObject100

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

参数

返回值

类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSObject100
The IDTSObject100 interface of the object that is retrieved.

实现

IDTSPipeline100. . :: . .GetObjectByID(Int32)

注释

If an object with the specified ID is not found, an DTS_E_OBJECTIDNOTFOUND exception is thrown.