语言

IDTSPipeline100.GetObjectByID(Int32) 方法

定义

通过使用数据流任务中的对象ID获取该对象。

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

参数

lID
Int32

要检索的对象的 ID。

返回

被 IDTSObject100 检索对象的接口。

实现

属性

注解

如果找不到具有指定ID的对象, DTS_E_OBJECTIDNOTFOUND 则会抛出异常。

适用于