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

傳回

就是 IDTSRuntimeConnection100 擁有指定 ID 的物件。

屬性

備註

GetObjectByID 方法會取得與參數相符 ID 的執行時連線物件。 若輸入不存在此 ID,則 DTS_E_OBJECTIDNOTFOUND 會發生例外。

適用於