|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
is used for establishing isolated connections via a factory. More...
import"XIsolatedConnection.idl";
Public Member Functions | |
| XConnection | getIsolatedConnectionWithCompletion ([in]com::sun::star::task::XInteractionHandler handler) raises (SQLException) |
| attempts to establish a database connection. More... | |
| XConnection | getIsolatedConnection ([in]string user, [in]string password) raises (SQLException) |
| attempts to establish a database connection. More... | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. More... | |
| void | acquire () |
| increases the reference counter by one. More... | |
| void | release () |
| decreases the reference counter by one. More... | |
is used for establishing isolated connections via a factory.
The XIsolatedConnection allows to create connections which are not shared among others as it is the case when creating connections in normal way.
| XConnection getIsolatedConnection | ( | [in] string | user, |
| [in] string | password | ||
| ) | |||
| raises | ( | SQLException | |
| ) | |||
attempts to establish a database connection.
| user | The user name. |
| password | The password. |
| com::sun::star::sdbc::SQLException | when an error occurs. |
| XConnection getIsolatedConnectionWithCompletion | ( | [in] com::sun::star::task::XInteractionHandler | handler | ) | |
| raises | ( | SQLException | |||
| ) | |||||
attempts to establish a database connection.
If information is missing, such as a user's password, they are completed by user interaction.
| handler | The handler which ask for the needed information when they are missing. |
| com::sun::star::sdbc::SQLException | when an error occurs. |
1.8.13