ReadOnly Property
Whether the component should open a vault in read-only mode.
Syntax
public boolean isReadOnly(); public void setReadOnly(boolean readOnly);
Remarks
This property specifies whether the component should open a vault in read-only mode. When a vault is open in read-only mode, the following restrictions apply:
- No new vault items (files, directories, symbolic links, and alternate streams) may be created.
- No existing vault items may be modified, renamed, moved, or deleted. (This includes updating access times.)
- The vault cannot be resized or compacted (automatically or explicitly).
- Vault corruption cannot be repaired using CheckAndRepair.
Note: This property cannot be changed when Active is true, and cannot be changed within events.
Default Value
False