Export (0) Print
Expand All
Expand Minimize

PipelineComponent.PrimeOutput Method

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

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

public virtual void PrimeOutput (
	int outputs,
	int[] outputIDs,
	PipelineBuffer[] buffers
)
public void PrimeOutput (
	int outputs, 
	int[] outputIDs, 
	PipelineBuffer[] buffers
)
public function PrimeOutput (
	outputs : int, 
	outputIDs : int[], 
	buffers : PipelineBuffer[]
)

Parameters

outputs

The number of elements in the outputIDs and buffers arrays.

outputIDs

An array of IDTSOutput90 ID's.

buffers

An array of PipelineBuffer objects.

The number of elements in the outputIDs and buffers array is determined by the number of IDTSOutput90 objects in the IDTSOutputCollection90 collection of the component connected to an IDTSPath90 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.

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


Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft