Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbIsActiveDatabase

Retrieve the active state of a database.

Declaration

CTBOOL ctdbIsActiveDatabase(CTHANDLE Handle)

Description

ctdbIsActiveDatabase() retrieves the active state of a database, connected or disconnected. A database is active when it is connected. To connect the database, use ctdbConnect().

  • Handle [in] the Database Handle.

Returns

ctdbIsActiveDatabase() returns YES if the database is connected and NO if the database is disconnected.

See also

ctdbAllocDatabase(), ctdbIsActiveSession(), ctdbIsActiveTable(), ctdbConnect()

TOCIndex