DataSource :: sharedDatabase - SHARE option
This option is required when running the database in a file server mode for sharing the database between users (multi-user access).
false/NO - database is used exclusively
true/YES - database can be shared between different applications
SHARE=YES
The value is true when the function was executed successfully. Otherwise the value is set to false .
Implementation overview
- Is database requested for shared use?
DataSource :: sharedDatabase (  ) - Set shared use option for database
DataSource :: sharedDatabase ( bState )
Implementation details
-
Is database requested for shared use?
bool DataSource  :: sharedDatabase (  )
The function returns true , when a shared database access has been requested. The value does not necessarily reflect the current state of the database.
to list
-
Set shared use option for database
bool DataSource  :: sharedDatabase ( bool bState )
In order to use the database simultaneously with other users, the option must be set to true . For requesting exclusive access, false should be set. The option has to be set before opening the database.
- bState
- Success
The value is true when the function was executed successfully. Otherwise the value is set to false .
to list
- bState
- Success