DataSource :: serverName - SERVER_URL option
The server name refers to the name or the TCP/IP address of the server machine, where the server is running.
Usually, this value is set in the configuration or ini-file in the SERVER_URL option for the data source definition, but it might also be defined as global option variable.
When a SERVER_URL option variable is defined, dictionary and client are accessed via server (object or replication mode). In order to use a local dictionary or database, instead, DICTIONARY.CONNECTION=local or DATABASE.CONNECTION=local has to be defined.
SERVER_URL=server_name
Valid server name or IP address referring to the server in a client server application.
Implementation overview
- Get server name
DataSource :: serverName (  ) - Set server name
DataSource :: serverName ( sServerName )
Implementation details
-
Get server name
odaba::String DataSource  :: serverName (  )
The function returns the server name. The server name might be empty when accessing local databases.
to list
-
Set server name
odaba::String DataSource  :: serverName ( odaba::String &sServerName )
The function allows setting the server name for the server to the data source should be connected. The function does not close the or reconnect the data source automatically, i.e. the server name should be set before connecting the data source (connect()).
- sServerName
- Server name
Valid server name or IP address referring to the server in a client server application.
to list
- sServerName
- Server name