company logo

DatabaseHandle :: EnableWorkspace - Enable workspace feature

The function enables the usage of workspaces and shadow database. The function can be executed only when the database is opened exclusive.

When no path or an empty path is passed as location for the shadow database the shadow database is positioned 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 if no extension has been defined for the database.

Return value:  Success ( logical  )

Implementation details

logical DatabaseHandle  :: EnableWorkspace ( NPath sdw_path=NString::Null() )
  • sdw_path - Complete path for shadow database Default: NString::Null()