company logo

ConnectionTypes - Client/server connection types

When running client/server applications, databases may be accessed on client side (locally) or on server. Client/server connection types allow deactivating the default behavior and requesting explicit local or server access.

Enumarators overview

  • automatic (0) - Automatic selection of connection type
  • local (1) - Local database access
  • server (2) - Access database via server

Enumerator details

  1. automatic - Automatic selection of connection type

    The system tries to access the database according to the connection type of the client. When the client is connected to a server and opening the database fails, the system tries to open the database locally. When the client is not connected to a server an local opening of the database fails, the database will be opened via main client (when being connected to a server).

    Code: 0
    to list
  2. local - Local database access

    Database will be accesses locally regardless on existing server connection.

    Code: 1
    to list
  3. server - Access database via server

    Database will be accessed via server regardless on server connection. When no server is defined for the data source, the database will be accessed via main client. When no server connection is available, opening the database fails.

    Code: 2
    to list