Поделиться через


Метод 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.

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка:  Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)

Синтаксис

'Декларация
Sub ProcessInput ( _
    lInputID As Integer, _
    pIDTSBufferInput As IDTSBuffer100 _
)
'Применение
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
)

Параметры

Замечания

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.