Share via


MainPipeClass.GetObjectByID Method

Retrieves an object contained in a data flow task.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Public Overridable Function GetObjectByID ( _
    lID As Integer _
) As IDTSObject100
'Usage
Dim instance As MainPipeClass 
Dim lID As Integer 
Dim returnValue As IDTSObject100 

returnValue = instance.GetObjectByID(lID)
public virtual IDTSObject100 GetObjectByID(
    int lID
)
public:
virtual IDTSObject100^ GetObjectByID(
    [InAttribute] int lID
)
abstract GetObjectByID : 
        lID:int -> IDTSObject100  
override GetObjectByID : 
        lID:int -> IDTSObject100
public function GetObjectByID(
    lID : int
) : IDTSObject100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
The IDTSObject100 interface of the object that is retrieved.

Implements

IDTSPipeline100.GetObjectByID(Int32)

Remarks

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

See Also

Reference

MainPipeClass Class

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace