IDTSDataPump2::ExecuteInit

DTS Programming

DTS Programming

IDTSDataPump2::ExecuteInit

The ExecuteInit method initiates a sequence of single-row data pump executions.

Syntax

HRESULT ExecuteInit (
    LPBYTE
pvUserData,
    BOOL *pbEndOfRowset,
    LPDTSExecuteInfo pExecInfo );

Argument Description
pvUserData [in] Data that is passed to an event sink if an event occurs
pbEndOfRowset [out] TRUE if at end of source rowset
pExecInfo [in/out] Execution info 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 first calls ExecuteInit, calls ExecuteRow one or more times, and then calls ExecuteComplete. ExecuteInit returns TRUE in pbEndOfRowset if the end of the rowset has already been reached.

See Also

IDTSDataPump2::ExecuteComplete

IDTSDataPump2::ExecuteRow

IDTSDataPump2::GetExecuteInfo