OLE DB Programmer's Reference | |
Property group: Initialization
Property set: DBPROPSET_DBINIT
Type: VT_I4
Typical R/W: R/W
Description: Mode
A bitmask specifying access permissions. A combination of zero or more of the following:
- DB_MODE_READRead-only.
- DB_MODE_WRITEWrite-only.
- DB_MODE_READWRITERead/write (DB_MODE_READ | DB_MODE_WRITE).
- DB_MODE_SHARE_DENY_READPrevents others from opening in read mode.
- DB_MODE_SHARE_DENY_WRITEPrevents others from opening in write mode.
- DB_MODE_SHARE_EXCLUSIVEPrevents others from opening in read/write mode (DB_MODE_SHARE_DENY_READ | DB_MODE_SHARE_DENY_WRITE).
- DB_MODE_SHARE_DENY_NONENeither read nor write access can be denied to others.
1998-2001 Microsoft Corporation. All rights reserved.