Contents Index InitSynchInfo method LastCodeOK method

UltraLite Static C++ User's Guide
  C++ API Reference
    ULConnection class

IsOpen method


Prototype 

bool  IsOpen ( )

Description 

Checks whether the ULConnection object is currently open.

Returns 

true (1) if the ULConnection object is open.

false (0) if the ULConnection object is not open.

Example 

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" );
}
See also 

Open method


Contents Index InitSynchInfo method LastCodeOK method