company logo

DataSource :: loadOptions - Load options when database not yet opened

In some cases, option values stored in the database are required before logging in into the database, however, options cannot be read before logging in. In order to read just the database options, this function may be called from an application.

Implementation details

DataSource  :: loadOptions (  )

The function opens the database shortly without login verification, just for reading the options and closing the database afterward.

When the database could not be opened, or when an error occurred while reading options, the function throws an exception.