- Description
- lets the application connect to the database
If the application is already connected, nothing happens. If it is not
connected, the application will try to establish a connection by using
::com::sun::star::sdbc::XDataSource::getConnection
with the current settings, as specified in the
::com::sun::star::sdb::DataSource::Settings member.
If the connection cannot be established, the respective error message is shown
in the application window.
- Returns
- whether or not the connection attempt was successful, i.e. whether or not
a subsequent call to isConnected would return true.
|