service DatabaseContext in module com::sun::star::sdb::

(Global Index)

Syntax

service DatabaseContext;

Description

is the context for accessing datasource.

A datasource contains information how to create a connection to a database, such as, which database driver should be used, for which user should a connection be established, etc.
The context stores datasources under a given name.

See also

DataSource

Exported Interfaces

com::sun::star::container::XEnumerationAccess

Description

Enumeration on all registered data sources.


com::sun::star::container::XNameAccess

Description

NameAccess on all registered data sources.


com::sun::star::uno::XNamingService

Description

Interface for registering new datasources.


com::sun::star::container::XContainer

Description

Interface for registering listener to get notified when new datasources are created or removed.


com::sun::star::lang::XSingleServiceFactory

Description

Interface for creation of new datasources.


Top of Page