共用方式為


DBPROP_INIT_MODE

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_READ ? Read-only.

  • DB_MODE_WRITE ? Write-only.

  • DB_MODE_READWRITE ? Read/write (DB_MODE_READ | DB_MODE_WRITE).

  • DB_MODE_SHARE_DENY_READ ? Prevents others from opening in read mode.

  • DB_MODE_SHARE_DENY_WRITE ? Prevents others from opening in write mode.

  • DB_MODE_SHARE_EXCLUSIVE ? Prevents others from opening in read/write mode (DB_MODE_SHARE_DENY_READ | DB_MODE_SHARE_DENY_WRITE).

  • DB_MODE_SHARE_DENY_NONE ? Neither read nor write access can be denied to others.

See Also

Reference

Properties (Alphabetical)