Export (0) Print
Expand All

CDatabase::Cancel

Call this member function to request that the data source cancel either an asynchronous operation in progress or a process from a second thread.

void Cancel( );

Note that the MFC ODBC classes no longer use asynchronous processing; to perform an asychronous operation, you must directly call the ODBC API function SQLSetConnectOption. For more information, see Asynchronous Execution in the Windows SDK.

Header: afxdb.h

Show:
© 2015 Microsoft