IDTSRuntimeConnectionCollection100.GetObjectByID(Int32) 方法

定义

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

参数

lID
Int32

返回

具有指定ID的 IDTSRuntimeConnection100 对象。

属性

注解

GetObjectByID 方法检索与参数匹配 ID 的运行时连接对象。 如果没有带有该 ID 的输入, DTS_E_OBJECTIDNOTFOUND 则会触发异常。

适用于