Contents Index ULConnection class Commit method

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

Close method


Prototype 

bool  Close ( )

Description 

Disconnects your application from the database, and frees resources associated with the ULConnection object. Once you have closed the ULConnection object, your application is no longer connected to the UltraLite database.

Closing a connection rolls back any outstanding changes.

You should not close a connection object in a Palm Computing Platform application. Instead, 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 ULConnection object:

conn.Close();
See also 

Open method


Contents Index ULConnection class Commit method