Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API reference » Connection class


close method

Closes this connection.


Once a connection is closed, it cannot be reopened. To reopen a connection, a new connection object must be created and opened.

It is an error to use any object (a table or schema for example) associated with a closed connection.

In JavaScript, the closed connection object is not set to NULL automatically after it is closed. It is recommended that you explicitly set the connection object to NULL after closing the connection.