Метод IDTSRuntimeComponent100.PrimeOutput
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.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)
Синтаксис
'Декларация
Sub PrimeOutput ( _
lOutputs As Integer, _
ByRef lOutputIDs As Integer, _
ByRef pIDTSBufferOutputs As IDTSBuffer100 _
)
'Применение
Dim instance As IDTSRuntimeComponent100
Dim lOutputs As Integer
Dim lOutputIDs As Integer
Dim pIDTSBufferOutputs As IDTSBuffer100
instance.PrimeOutput(lOutputs, lOutputIDs, _
pIDTSBufferOutputs)
void PrimeOutput(
int lOutputs,
ref int lOutputIDs,
ref IDTSBuffer100 pIDTSBufferOutputs
)
void PrimeOutput(
[InAttribute] int lOutputs,
[InAttribute] int% lOutputIDs,
[InAttribute] IDTSBuffer100^% pIDTSBufferOutputs
)
abstract PrimeOutput :
lOutputs:int *
lOutputIDs:int byref *
pIDTSBufferOutputs:IDTSBuffer100 byref -> unit
function PrimeOutput(
lOutputs : int,
lOutputIDs : int,
pIDTSBufferOutputs : IDTSBuffer100
)
Параметры
- lOutputs
Тип: System.Int32
The number of elements in the outputIDs and buffers arrays.
- lOutputIDs
Тип: System.Int32%
An array of IDTSOutput100 IDs.
- pIDTSBufferOutputs
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100%
An array of IDTSBuffer100 objects.
Замечания
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.