CTDatabase.IsActive
Syntax
bool IsActive( )
Parameters
This method has no parameters.
Description
Retrieves the active state of a database (connected or disconnected state).
Return
IsActive() returns true if the database is connected, or false if database is disconnected.
Example
if (!aDatabase.IsActive())
aDatabase.Connect();
See Also
FindActive()