共用方式為


MainPipeClass.IDTSObjectModel100_GetObjectByID(Int32) Method

Definition

Retrieves an object that is contained in a data flow task.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100 ^ IDTSObjectModel100_GetObjectByID(int lID) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObjectModel100::GetObjectByID;
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100 IDTSObjectModel100_GetObjectByID (int lID);
abstract member IDTSObjectModel100_GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
override this.IDTSObjectModel100_GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
Public Overridable Function IDTSObjectModel100_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.

Remarks

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

Applies to