company logo

DataSource :: accessMode - ACCESS_MODE option

The access mode defines whether the database will be used in write/update mode or read only:

Read    - read only access

Write    - write/update access

New databases will be created automatically, when being opened in Write mode.

Default: Read

ACCESS_MODE=Write

Return value:  Access mode ( odaba::AccessModes  )

Access mode for a property handle or database.

Implementation overview

Implementation details

  1. Access mode
    odaba::AccessModes DataSource  :: accessMode (  )

    The function returns the access mode set for the data source.

  2. to list
  3. Set access mode
    odaba::AccessModes DataSource  :: accessMode ( odaba::AccessModes eAccessMode )

    The function changes the access mode to the passed value. The new access mode will apply to database only, when (re)opening the database.

    • eAccessMode - Access mode

      Access mode for a property handle or database.

  4. to list