MainPipeClass.GetObjectByID(Int32) 方法

定义

检索包含在数据流任务中的对象。

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100 ^ GetObjectByID(int lID) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSPipeline100::GetObjectByID;
[System.Runtime.InteropServices.DispId(14)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100 GetObjectByID (int lID);
[<System.Runtime.InteropServices.DispId(14)>]
abstract member GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
override this.GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
Public Overridable Function GetObjectByID (lID As Integer) As IDTSObject100

参数

lID
Int32

要检索的对象的 ID。

返回

检索的对象的 IDTSObject100 接口。

实现

属性

注解

如果未找到具有指定 ID 的对象, DTS_E_OBJECTIDNOTFOUND 则会引发异常。

适用于