PrimeOutput 메서드
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.dll의 Microsoft.SqlServer.PipelineHost
구문
‘선언
Public Overridable Sub PrimeOutput ( _
outputs As Integer, _
outputIDs As Integer(), _
buffers As PipelineBuffer() _
)
‘사용 방법
Dim instance As PipelineComponent
Dim outputs As Integer
Dim outputIDs As Integer()
Dim buffers As PipelineBuffer()
instance.PrimeOutput(outputs, outputIDs, _
buffers)
public virtual void PrimeOutput(
int outputs,
int[] outputIDs,
PipelineBuffer[] buffers
)
public:
virtual void PrimeOutput(
int outputs,
array<int>^ outputIDs,
array<PipelineBuffer^>^ buffers
)
abstract PrimeOutput :
outputs:int *
outputIDs:int[] *
buffers:PipelineBuffer[] -> unit
override PrimeOutput :
outputs:int *
outputIDs:int[] *
buffers:PipelineBuffer[] -> unit
public function PrimeOutput(
outputs : int,
outputIDs : int[],
buffers : PipelineBuffer[]
)
매개 변수
- outputs
형식: System. . :: . .Int32
The number of elements in the outputIDs and buffers arrays.
- outputIDs
형식: array<System. . :: . .Int32> [] () [] []
An array of IDTSOutput100 ID's.
- buffers
형식: array<Microsoft.SqlServer.Dts.Pipeline. . :: . .PipelineBuffer> [] () [] []
An array of PipelineBuffer objects.
주의
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.