CTDatabase::IsActive
Syntax
CTBOOL IsActive( )
Parameters
This method has no parameters.
Description
Retrieves the active state of a database (connected or disconnected state).
Return
IsActive() returns YES if the database is connected, or NO if database is disconnected.
Example
if (!pDatabase->IsActive())
pDatabase->Connect();
See also
FindActive()