Deletes the specified vault from on-device storage.
If the vault does not exist, this method throws an exception. The vault
need not be in the unlocked state, and can be deleted even if the password is
unknown.
Syntax
public static void deleteVault(String name)
Parameters
name – the vault name.
Examples
Delete a data vault – deletes a data vault called myVault.
if (DataVault.vaultExists("myVault"))
{
DataVault.deleteVault("myVault");
}