共用方式為


MainPipeClass.GetObjectByID(Int32) Method

Definition

Retrieves an object contained in a data flow task.

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

Parameters

lID
Int32

The ID of the object to retrieve.

Returns

The IDTSObject100 interface of the object that is retrieved.

Implements

Attributes

Remarks

If an object with the specified ID is not found, an DTS_E_OBJECTIDNOTFOUND exception is thrown.

Applies to