Share via


PipelineComponent.InsertOutput Method

Adds a new IDTSOutput100 object

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertOutput ( _
    insertPlacement As DTSInsertPlacement, _
    outputID As Integer _
) As IDTSOutput100
'Usage
Dim instance As PipelineComponent
Dim insertPlacement As DTSInsertPlacement
Dim outputID As Integer
Dim returnValue As IDTSOutput100

returnValue = instance.InsertOutput(insertPlacement, _
    outputID)
[CLSCompliantAttribute(false)]
public virtual IDTSOutput100 InsertOutput(
    DTSInsertPlacement insertPlacement,
    int outputID
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSOutput100^ InsertOutput(
    DTSInsertPlacement insertPlacement, 
    int outputID
)
[<CLSCompliantAttribute(false)>]
abstract InsertOutput : 
        insertPlacement:DTSInsertPlacement * 
        outputID:int -> IDTSOutput100 
[<CLSCompliantAttribute(false)>]
override InsertOutput : 
        insertPlacement:DTSInsertPlacement * 
        outputID:int -> IDTSOutput100 
public function InsertOutput(
    insertPlacement : DTSInsertPlacement, 
    outputID : int
) : IDTSOutput100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100
The newly created IDTSInput100 object

Remarks

This method inserts a new IDTSOutput100 object before or after the specified input object specified by the outputID parameter during the NewAt method.

If outputID equals zero, the new IDTSOutput100 object is added at the start of the collection.