Método IDTSRuntimeComponent100.ProcessInput
Called on transformation and destination components that have IDTSInput100 objects that are connected to an upstream component. The developer needs to supply the code that processes the input buffers.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxe
'Declaração
Sub ProcessInput ( _
lInputID As Integer, _
pIDTSBufferInput As IDTSBuffer100 _
)
'Uso
Dim instance As IDTSRuntimeComponent100
Dim lInputID As Integer
Dim pIDTSBufferInput As IDTSBuffer100
instance.ProcessInput(lInputID, pIDTSBufferInput)
void ProcessInput(
int lInputID,
IDTSBuffer100 pIDTSBufferInput
)
void ProcessInput(
[InAttribute] int lInputID,
[InAttribute] IDTSBuffer100^ pIDTSBufferInput
)
abstract ProcessInput :
lInputID:int *
pIDTSBufferInput:IDTSBuffer100 -> unit
function ProcessInput(
lInputID : int,
pIDTSBufferInput : IDTSBuffer100
)
Parâmetros
- lInputID
Tipo: System.Int32
The ID of the IDTSInput100 object.
- pIDTSBufferInput
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100
The input IDTSBuffer100 object.
Comentários
ProcessInput is called to provide a component a full IDTSBuffer100 object containing rows from the upstream component. The columns contained in the buffer include those columns defined in the IDTSInputColumnCollection100 of the component. If the component has synchronous outputs, it also includes the columns added to the output column collection by the component, and all the columns in the output column collection of the components that are upstream from the component. Columns are located in a buffer row by using the FindColumnByLineageID method of the BufferManager.
ProcessInput is called repeatedly as the data flow task receives full buffers from the upstream components. The final call to the ProcessInput method is confirmed when the IsEndOfRowset property is true.