The pDbMode parameter specifies if the database process mode is shared or exclusive.
The database mode constants and their integer values are listed in the following table.
Constant | Value | Description |
---|---|---|
DB_SHARED | 0 | Enables multiple current users to open the database. |
DB_EXCLUSIVE | 1 | Requests exclusive access to the database. If other users already have the database open, a database mode conflict is reported. Similarly, if one user already has the database open in exclusive mode, other users are prevented from opening the database. |