IDTSRuntimeConnectionCollection100.GetObjectByID(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 會發生例外。