IDTSDataPump2::ExecuteRow

DTS Programming

DTS Programming

IDTSDataPump2::ExecuteRow

The ExecuteRow method causes the data pump to process a single-row of the source rowset.

Syntax

HRESULT ExecuteRow (
    BOOL
*pbEndOfRowset,
    LPDTSExecuteInfo pExecInfo );

Argument Description
pbEndOfRowset [out] TRUE if at end of source rowset
pExecInfo [in/out] Execution information to be passed into and returned from the data pump

Remarks

To execute one or more rows of the source rowset, the data pump caller calls ExecuteInit, calls ExecuteRow for each row to be processed, and then calls ExecuteComplete. ExecuteRow returns TRUE in pbEndOfRowset if the end of the rowset has been reached.

If MaximumErrorRowCount is greater than 0, ExecuteRow continues until a row is successfully processed or MaximumErrorRowCount is exceeded.

See Also

IDTSDataPump2::ExecuteComplete

IDTSDataPump2::ExecuteInit

IDTSDataPump2::GetExecuteInfo