UltraLite User's Guide
C++ API Reference
ULData class
bool Close ( )
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 PlatformDo 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. |
true (1) if successful.
false (0) if unsuccessful.
The following example closes a ULData object:
db.Close();