IDTSOutputCollection100.GetObjectByID(Int32) 方法

定義

擷取擁有指定識別碼的 IDTSOutput100 物件。

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

參數

lID
Int32

要從集合中擷取之輸出的識別碼。

傳回

IDTSOutput100

擁有指定識別碼的 IDTSInput100 物件。

屬性

備註

如果在集合中找不到具有指定識別碼的輸出,則會擲回 Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTNOTFOUND 的例外狀況。

適用於