OLEDBSimpleProviderListener::
transferComplete

Indicates that a data transfer is complete. All providers must invoke this event. transferComplete is an event handler method, implemented through addOLEDBSimpleProviderListener. All asynchronous providers must call this function when a transfer of data is complete.

HRESULT transferComplete (
OSPXFERdoneReason);

Parameter

doneReason

[in]
Supports the following values:

Value Meaning
OSPXFER_COMPLETE = 0 Data transmission completed successfully.
OSPXFER_ABORT = 1 Data transmission completed because of a call to the Stop method.
OSPXFER_ERROR = 2 Data transmission completed in an error state.

Return Codes

S_OK
The method succeeded.

E_FAIL
A provider-specific error occurred.

Note