The ExecuteInit method initiates a sequence of single-row data pump executions.
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 |
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.