IDTSRuntimeConnectionCollection100.GetObjectByID(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中检索对象 IDTSRuntimeConnection100 。
public:
Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ GetObjectByID(int lID);
[System.Runtime.InteropServices.DispId(20)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100 GetObjectByID(int lID);
[<System.Runtime.InteropServices.DispId(20)>]
abstract member GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
Public Function GetObjectByID (lID As Integer) As IDTSRuntimeConnection100
参数
- lID
- Int32
从集合中检索的 IDTSRuntimeConnection100 ID。
返回
具有指定ID的 IDTSRuntimeConnection100 对象。
- 属性
注解
该 GetObjectByID 方法检索到与参数匹配 ID 的 ID 的运行时连接对象。 如果没有带有该ID的输入,则是一个Microsoft。SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND例外情况发生。