company logo

Database :: deleteWorkspace - Delete workspace

The function deletes an existing workspace. The workspace must be empty before deleting, i.e. discardWorkspace() or consolidateWorkspace() should be called before.

The name or path of the workspace to be deleted has to be passed in sWorkspaceName. The name passed in sUserName is the user name of the owner of the workspace.

Implementation details

Database  :: deleteWorkspace ( odaba::String &sWorkspaceName, odaba::String &sUserName )
  • sWorkspaceName - Workspace name

    The workspace name is the extension of the current workspace or database. The database can be considered as the root for all workspaces. The workspace name may address a workspace on top of the current one (simple workspace name) or a workspace on any higher level by passing a sequence of workspace names separated by '.'.

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

  • sUserName - User name

    The user name is the user's login name. In order not to pass any user name, an empty string ( String() )may be passed.