[This is preliminary documentation and subject to change.]
The GetDatabaseConnected method returns a value indicating whether a CDatabaseConnection object has a connection to the database. In other words, whether a previous call to ConnectToDatabase was successful.
BOOL GetDatabaseConnected(void);
 None.
If a CDatabaseConnection object is connected to the database, this method returns TRUE. Otherwise, it returns FALSE.
  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.