company logo

Client :: setServerOption - Set Server Option

Options or system variables for a client application can be set on the server side. This is necessary for controlling functions running on the server side.

Server options are valid on the server only for the connected client, i.e. each client has its own server options, which are not shared with other clients. Server options can be retrieved calling serverOption().

Implementation details

Client  :: setServerOption ( odaba::String &sOptionName, odaba::String &sOptionValue )

The function returns the value sOptionValue for the server option passed in sOptionName.

  • sOptionName - Option name

    The name refers to an option set on the server or client side. Option names may be defined simply as an identifier (main option) or as an option hierarchy path when the option is defined on a lower level of the option hierarchy.

    Option names are NOT case sensitive.

      TRACE - main option

      DATA.Dictionary - Dictionary option in DATA section

      DATA.Database.path - Database path in a Database sub section od the DATA section

  • sOptionValue - Option value

    The option value contains the value set (or to be set) for an option.

    In order to pass no option value, an empty string ( String() ) has to be passed.