Share via


IDTSOutputColumnCollection100.GetObjectByID(Int32) 方法

定义

从集合中检索具有指定 ID 的输出列对象。

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

参数

lID
Int32

要从集合中检索的输出列的 ID。

返回

具有指定 ID 的 IDTSOutputColumn100 对象。

属性

注解

如果集合不包含 IDTSOutputColumn100 具有指定 ID 的对象, DTS_E_OBJECTIDNOTFOUND 则会发生异常。

适用于