CDatabaseConnection::DisconnectFromDatabase

[This is preliminary documentation and subject to change.]

The DisconnectFromDatabase method closes the connection to the database. It also closes the workspace.

BOOL DisconnectFromDatabase(void);
 

Parameters

None.

Return Values

If the database and workspace were successfully closed this method returns TRUE. Otherwise it returns FALSE.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in dbsets.h.
  Import Library: Use dbsets.lib or dbsetsSt.lib.
  Unicode: Yes.