DataSource :: dictionaryConnection - DICTIONARY.CONNECTION option
Usually, the dictionary database location is determined by the system (automatic). When the client is connected to a server and opening the dictionary via server fails, the system tries to open the dictionary locally. When the client is not connected to a server and local opening of dictionary fails, the dictionary will be opened via main client (when being connected to a server).
When passing local as connection type, the dictionary will be opened locally, always. When passing server as connection type, the dictionary will be opened via server. When no server connection has been established for the client, the dictionary will be opened via main client connection. When the main client is not connected, too, opening the dictionary fails
The database connection types defines the way of accessing the database (local, via server or determining the access automatically).
Implementation overview
- Get database connection type
DataSource :: dictionaryConnection (  ) - Set database connection type
DataSource :: dictionaryConnection ( eConnectionType )
Implementation details
-
Get database connection type
odaba::ConnectionTypes DataSource  :: dictionaryConnection (  )
The function returns the database connection type, which is typically automatic.
to list
-
Set database connection type
odaba::ConnectionTypes DataSource  :: dictionaryConnection ( odaba::ConnectionTypes eConnectionType )
The function allows changing the database connection type. The function does not close the database, when it has been opened. The new database connection type is used only, when reopening the database.
- eConnectionType
- Database connection type
The database connection types defines the way of accessing the database (local, via server or determining the access automatically).
to list
- eConnectionType
- Database connection type