Mode

Description

Specifies access permission to the OLE DB data provider.

NoteWhen to specify Mode You must specify the Mode parameter before connecting to the database.

Applies to

Syntax

Mode = 'value'

Parameter

Description

value

Specifies access permission to the OLE DB data provider. Values are:

  • Deny read share Prevents other users from opening in read mode.

  • Deny write share Prevents other users from opening in write mode.

  • Exclusive share Prevents other users from opening in read/write mode.

  • No share deny Neither read nor write access can be denied to other users.

  • Read/Write Allows read/write access.

  • Read-only Allows read access.

  • Write-only Allows write access.

Default

None

Examples

Example 1

To allow other users read/write access to the OLE DB data provider:

See also