语言

IDTSOutputCollection100.GetObjectByID(Int32) 方法

定义

检索 IDTSOutput100 具有指定ID的对象。

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

参数

lID
Int32

输出的ID,从集合中检索。

返回

具有指定ID的 IDTSInput100 对象。

属性

注解

如果集合中找不到带有指定ID的输出,则会有一个Microsoft。SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTNOTFOUND例外被抛出。

适用于