Condividi tramite


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.

Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintassi

'Dichiarazione
<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
)

Parametri

Osservazioni

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.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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