Description

Whether this database (and objects read from it) are Read only. By default this property is False (i.e. databases are opened for both read and write access).

Property type

A Boolean value.  

Syntax

object.IsReadOnly [= value]

The IsReadOnly Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBDatabase.
valueA Boolean value.

Remarks

This property may only be modified before this McDBDatabase is opened. Afterwards, this property is read-only.

Exceptions

Error Value Description
CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT &H80004024 This McDBDatabase is open.