Name
ConnectModeEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
The ConnectModeEnum enumeration indicates the available permissions for modifying data in a Connection object, opening data in a Record object, or specifying values within a Record or Stream object.
Table E-9. The ConnectModeEnum Enumeration
|
Enumeration (ADO/WFC) |
Value |
Description |
|---|---|---|
adModeRead (READ) |
1 |
Indicates that the data has read-only privileges. |
adModeReadWrite (READWRITE) |
3 |
Indicates that the data has both read and write privileges. |
|
|
|
Used with |
adModeShareDenyNone (SHAREDENYNONE) |
|
Prevents other users from opening the connection with any permissions. |
adModeShareDenyRead (SHAREDENYREAD) |
|
Prevents other users from opening the connection with read permissions. |
adModeShareDenyWrite (SHAREDENYWRITE) |
|
Prevents other users from opening the connection with write permissions. |
adModeShareExclusive (SHAREEXCLUSIVE) |
|
Prevents other users from opening the connection with read and write permissions. |
adModeUnknown (UNKNOWN) |
|
Default. Indicates that the permissions have not yet been set or that they cannot be determined by ADO. |
adModeWrite (WRITE) ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access