共用方式為


IDTSRuntimeComponent100.PrimeOutput(Int32, Int32, IDTSBuffer100) Method

Definition

Called during package execution for components that add rows to the IDTSBuffer100; including source components and transformation components with asynchronous IDTSOutput100 objects. The developer needs to supply the code that adds the rows to the output buffers.

public:
 void PrimeOutput(int lOutputs, int % lOutputIDs, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBuffer100 ^ % pIDTSBufferOutputs);
[System.Runtime.InteropServices.DispId(14)]
public void PrimeOutput (int lOutputs, ref int lOutputIDs, ref Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100 pIDTSBufferOutputs);
[<System.Runtime.InteropServices.DispId(14)>]
abstract member PrimeOutput : int * int * IDTSBuffer100 -> unit
Public Sub PrimeOutput (lOutputs As Integer, ByRef lOutputIDs As Integer, ByRef pIDTSBufferOutputs As IDTSBuffer100)

Parameters

lOutputs
Int32

The number of elements in the outputIDs and buffers arrays.

lOutputIDs
Int32

An array of IDTSOutput100 IDs.

pIDTSBufferOutputs
IDTSBuffer100

An array of IDTSBuffer100 objects.

Attributes

Remarks

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

Each element in the lOutputIDs array has a IDTSBuffer100 at the same index in the pIDTSBufferOutputs 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.

Applies to