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( );

Remarks

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.

Requirements

Header: afxdb.h

See Also

Reference

CDatabase Class

Hierarchy Chart

Other Resources

CDatabase Members