company logo

DataSource :: onlineVersioning - ONLINE_VERSION option

This value enables online versioning feature for the data source when being set to true. Online versioning allows automatic upgrades to higher database schema versions.

false - online versioning disabled

true - online versioning enabled

When this variable is not set or set to false, the application will not run with updated database schema versions.

Usually, this value is set in the configuration or ini-file in the ONLINE_VERSION option for the data source definition.

ONLINE_VERSION=YES

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 online versioning requested?
    bool DataSource  :: onlineVersioning (  )

    The property returns true, when online versioning is required.

  2. to list
  3. Enable/disable online versioning for database
    bool DataSource  :: onlineVersioning ( bool bState )

    The property 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