company logo

DataSource :: isReplicationServer - Replication database

When this option is set to true, the database is to be opened as replication database. When initializing the data source from an configuration or ini-file, the option is set automatically to true, when REPLICATION_SERVER name is defined as option for the data source..

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation overview

Implementation details

  1. Is database to be opened as replication client?
    bool DataSource  :: isReplicationServer (  )

    The function returns true, when the database is to be opened as replication client and false otherwise.

  2. to list
  3. Enable/disable replication client
    bool DataSource  :: isReplicationServer ( bool bState )

    This value enables replication client feature for the data source when being set to true. Otherwise database is opened locally or in object server mode.

    The value must be set before opening the data source. Setting the value afterwards will not have any effect until reopening the database.

    • bState - Success

      The value is true when the function was executed successfully. Otherwise the value is set to false.

  4. to list