Aracılığıyla paylaş


PipelineComponent.PrimeOutput(Int32, Int32[], PipelineBuffer[]) Method

Definition

Called at run time for source components and transformation components with asynchronous outputs to let these components add rows to the output buffers.

public:
 virtual void PrimeOutput(int outputs, cli::array <int> ^ outputIDs, cli::array <Microsoft::SqlServer::Dts::Pipeline::PipelineBuffer ^> ^ buffers);
public virtual void PrimeOutput (int outputs, int[] outputIDs, Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer[] buffers);
abstract member PrimeOutput : int * int[] * Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer[] -> unit
override this.PrimeOutput : int * int[] * Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer[] -> unit
Public Overridable Sub PrimeOutput (outputs As Integer, outputIDs As Integer(), buffers As PipelineBuffer())

Parameters

outputs
Int32

The number of elements in the outputIDs and buffers arrays.

outputIDs
Int32[]

An array of IDTSOutput100 ID's.

buffers
PipelineBuffer[]

An array of PipelineBuffer objects.

Remarks

The number of elements in the outputIDs and buffers array is determined by the number of IDTSOutput100 objects in the IDTSOutputCollection100 collection of the component connected to an IDTSPath100 object.

Each element in the outputIDs array has a PipelineBuffer at the same index in the buffers array.

Rows are added to the PipelineBuffer by calling the AddRow method, and when finished, the SetEndOfRowset method is called to notify the data flow task that the component is finished adding rows. The SetEndOfRowset method sets the value of the EndOfRowset property to true on the final buffer.

PrimeOutput is called for components whose SynchronousInputID property is set to zero.

Applies to