|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
is used for establishing connections via a factory which is identified by its name. More...
import"XCompletedConnection.idl";
Public Member Functions | |
| com::sun::star::sdbc::XConnection | connectWithCompletion ([in]com::sun::star::task::XInteractionHandler handler) raises (com::sun::star::sdbc::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 connections via a factory which is identified by its name.
To complete the information needed for establishing a connection an interaction handler is used.
| com::sun::star::sdbc::XConnection connectWithCompletion | ( | [in] com::sun::star::task::XInteractionHandler | handler | ) | |
| raises | ( | com::sun::star::sdbc::SQLException | |||
| ) | |||||
attempts to establish a database connection.
If information is missing, such as a user's password, they are completed by user interaction.
| handler | will be asked when more information is needed |
| com::sun::star::sdbc::SQLException | if a database access error occurs. |
1.8.13