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.