Locks the vault.
Once a
vault is locked, you must unlock it before changing the vault’s properties or storing
anything in it. If the vault is already locked, lock has no effect.
Syntax
public void lock()
Parameters
None.
Returns
Examples
- Locks the data vault – prevents changing the vaults properties or stored content.
vault.lock();