It is important to release resources when they are no longer being used; otherwise, an UltraLite database file remains in use as long as an application has a connection to the database.
To close an UltraLite database connectionCall the Close method to release resources.
Use the following code when the application no longer requires a connection to the database:
if( conn != NULL ) {
conn->Close( &ulerr );
} |
Call the Fini method to finalize the ULDatabaseManager object.
Use the following code when closing the application.
ULDatabaseManager.Fini(); |
See also![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |