company logo

Database :: enableWorkspace - Enable workspace feature

The function enables the workspace feature, i.e. usage of workspaces and shadow database. The function can be executed only when the database is opened exclusively.

When no path or an empty path is passed in sShadowDatabasePath, the shadow database is created in the same folder as the original database and with the same name as the database but the extension is changed to .sdw or appended when no extension has been defined for the database.

Implementation details

Database  :: enableWorkspace ( odaba::String &sShadowDatabasePath )
  • sShadowDatabasePath - File location for shadow database

    The file location for a shadow database must refer to a database file within the local area network.