Contents Index ULData class Drop method

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

Close method


Prototype 

bool  Close ( )

Description 

Frees resources associated with a ULData object, before you terminate your application. Once you have closed the ULData object, you cannot execute any other operations on that database using the C++ API without reopening.

Palm Computing Platform 
Do not call ULData.Close() on the Palm Computing Platform. On the Palm Computing Platform, the database must be kept open when you leave the application. Use ULData.PalmExit to save the state of the application between sessions instead of calling ULData.Close. Use the Reopen method when the application is reactivated. For more information, see Reopen method.
Returns 

true (1) if successful.

false (0) if unsuccessful.

Example 

The following example closes a ULData object:

db.Close();
See also 

Open method


Contents Index ULData class Drop method