IDTSOutputColumnCollection100.GetObjectByID Method

Retrieves the output column object that has the specified ID from a collection.

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

Syntax

'Declaration
Function GetObjectByID ( _
    lID As Integer _
) As IDTSOutputColumn100
'Usage
Dim instance As IDTSOutputColumnCollection100 
Dim lID As Integer 
Dim returnValue As IDTSOutputColumn100 

returnValue = instance.GetObjectByID(lID)
IDTSOutputColumn100 GetObjectByID(
    int lID
)
IDTSOutputColumn100^ GetObjectByID(
    [InAttribute] int lID
)
abstract GetObjectByID : 
        lID:int -> IDTSOutputColumn100
function GetObjectByID(
    lID : int
) : IDTSOutputColumn100

Parameters

  • lID
    Type: System.Int32
    The ID of the output column to retrieve from the collection.

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutputColumn100
The IDTSOutputColumn100 object with the specified ID.

Remarks

If the collection does not contain an IDTSOutputColumn100 object with the specified ID, an DTS_E_OBJECTIDNOTFOUND exception occurs.

See Also

Reference

IDTSOutputColumnCollection100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace