語言

IDTSPipeline100.GetObjectByID(Int32) 方法

定義

透過使用物件的 ID 來檢索資料流任務中包含的物件。

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

參數

lID
Int32

要擷取的物件之識別碼。

傳回

被 IDTSObject100 擷取物件的介面。

實作

屬性

備註

若找不到具有指定 ID 的物件, DTS_E_OBJECTIDNOTFOUND 則會拋出例外。

適用於