共用方式為


IDTSRuntimeComponent100.ProcessInput(Int32, IDTSBuffer100) Method

Definition

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.

public:
 void ProcessInput(int lInputID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBuffer100 ^ pIDTSBufferInput);
[System.Runtime.InteropServices.DispId(15)]
public void ProcessInput (int lInputID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100 pIDTSBufferInput);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member ProcessInput : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSBuffer100 -> unit
Public Sub ProcessInput (lInputID As Integer, pIDTSBufferInput As IDTSBuffer100)

Parameters

lInputID
Int32

The ID of the IDTSInput100 object.

pIDTSBufferInput
IDTSBuffer100

The input IDTSBuffer100 object.

Attributes

Remarks

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.

Applies to