共用方式為


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.

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
Public Overridable Sub PrimeOutput ( _
    outputs As Integer, _
    outputIDs As Integer(), _
    buffers As PipelineBuffer() _
)
public virtual void PrimeOutput (
    int outputs,
    int[] outputIDs,
    PipelineBuffer[] buffers
)
public:
virtual void PrimeOutput (
    int outputs, 
    array<int>^ outputIDs, 
    array<PipelineBuffer^>^ buffers
)
public void PrimeOutput (
    int outputs, 
    int[] outputIDs, 
    PipelineBuffer[] buffers
)
public function PrimeOutput (
    outputs : int, 
    outputIDs : int[], 
    buffers : PipelineBuffer[]
)

參數

  • outputs
    The number of elements in the outputIDs and buffers arrays.

備註

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace