LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XCompletedConnection Interface Referencepublished

is used for establishing connections via a factory which is identified by its name. More...

import"XCompletedConnection.idl";

Inheritance diagram for XCompletedConnection:
XInterface DatabaseAccess DatabaseAccessDataSource DataSource DocumentDataSource

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...
 

Detailed Description

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.

Member Function Documentation

attempts to establish a database connection.

If information is missing, such as a user's password, they are completed by user interaction.

Parameters
handlerwill be asked when more information is needed
Returns
the Connection object
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

The documentation for this interface was generated from the following file: