IDTSInputCollection100.GetObjectByID(Int32) 方法

定义

IDTSInput100 集合中检索 IDTSInputCollection100 对象。

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

要从 IDTSInput100 集合检索的 IDTSInputCollection100 的 ID。

返回

具有由 InputID 参数指定的 ID 的 IDTSInput100 对象。

属性

注解

该方法 GetObjectByID 检索具有与参数匹配的 ID 的 InputID 输入对象。 如果此 ID 不存在输入,则会发生Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND异常。

适用于