MainPipeClass.GetObjectByID(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.