共用方式為


IDTSRuntimeComponent90.ProcessInput Method

Called on transformation and destination components that have IDTSInput90 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 (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(15)> _
Sub ProcessInput ( _
    <InAttribute> lInputID As Integer, _
    <InAttribute> pIDTSBufferInput As IDTSBuffer90 _
)
[DispIdAttribute(15)] 
void ProcessInput (
    [InAttribute] int lInputID,
    [InAttribute] IDTSBuffer90 pIDTSBufferInput
)
[DispIdAttribute(15)] 
void ProcessInput (
    [InAttribute] int lInputID, 
    [InAttribute] IDTSBuffer90^ pIDTSBufferInput
)
/** @attribute DispIdAttribute(15) */ 
void ProcessInput (
    /** @attribute InAttribute() */ int lInputID, 
    /** @attribute InAttribute() */ IDTSBuffer90 pIDTSBufferInput
)
DispIdAttribute(15) 
function ProcessInput (
    lInputID : int, 
    pIDTSBufferInput : IDTSBuffer90
)

參數

備註

ProcessInput is called to provide a component a full IDTSBuffer90 object containing rows from the upstream component. The columns contained in the buffer include those columns defined in the IDTSInputColumnCollection90 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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSRuntimeComponent90 Interface
IDTSRuntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace