IDTSOutputCollection100.GetObjectByID(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取擁有指定識別碼的 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
要從集合中擷取之輸出的識別碼。
傳回
擁有指定識別碼的 IDTSInput100 物件。
- 屬性
備註
如果在集合中找不到具有指定識別碼的輸出,則會擲回 Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTNOTFOUND 的例外狀況。