|
|
|
|
|
PROPERTY: |
|
|
|
mode |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Indicates the available permissions for modifying data. |
||
|
|
|
|
|
PROPERTY OF: |
|
|
|
|
||
|
|
||
|
|
||
|
VALUE: |
DESCRIPTION: |
|
|
0 |
Unknown (Permissions have not been set or cannot be determined) (Default) |
|
|
1 |
Read (Read-only permission) |
|
|
2 |
Write (Write-only permission) |
|
|
3 |
Read Write (Read/write permission) |
|
|
4 |
Share Deny Read (Prevents others from opening a connection with read permission) |
|
|
5 |
Share Deny Write (Prevents others from opening a connection with write permission) |
|
|
6 |
Share Exclusive (Prevents others from opening a connection) |
|
|
7 |
Share Deny None (Allows others to open a connection with any permissions. Neither read nor write access can be denied to others) |
|
|
|
||
|
DESCRIPTION: |
|
|
|
Use mode property to set the access permissions in use by the provider on the current database connection. |
||
|
|
||
|
You can set the mode property only when this object is closed. |
||
|
|
||
|
The mode property (access mode) determines permissions, the access that you and other users have to the data source. |
||
|
The extent to which you'll be able to control permissions will depend on a lot of factors, such as whether someone |
||
|
else already has the data source open and has denied access to other users. |
||
|
|
||
|
If you try to open a database connection in a non-allowed mode, an error will occur. |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|