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

SQL Anywhere 10.0.1 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API Reference » DatabaseManager class

 getDatabaseOptions method Next Page

openConnection method

Opens a connection to the database specified by parms.


Connection openConnection( String parms)


An opened connection.


If the database does not exist, an error is thrown. You can check Connection.sqlCode within the error catching code to identify the cause of the error.

Only one database may be active at a given time. Attempts to open a connection to different database while other connections are open result in an error.