IDTSInputCollection100.GetObjectByID(Int32) 方法

定义

IDTSInputCollection100集合中检索对象IDTSInput100

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

参数

lID
Int32

从集合中检索IDTSInputCollection100IDTSInput100 ID。

返回

包含 IDTSInput100 参数指定ID InputID 的对象。

属性

注解

GetObjectByID 方法检索输入对象的 ID 与参数 InputID 匹配。 如果没有带有该ID的输入,则是一个Microsoft。SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND例外情况发生。

适用于