UltraLite Static C++ User's Guide
C++ API Reference
ULConnection class
bool IsOpen ( )
Checks whether the ULConnection object is currently open.
true (1) if the ULConnection object is open.
false (0) if the ULConnection object is not open.
The following example checks that an attempt to Open a connection succeeded:
ULConnection conn; conn.Open(); if( conn.IsOpen() ){ printf( "Connected to the database.\n" ); }