Deletes the specified vault from on-device storage.
Deletes a vault having the specified name. 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 sDataVaultID)
Parameters
sDataVaultID – The vault name.
Examples
Delete a Data Vault – Deletes a data vault called myVault.
if (DataVault.VaultExists("myVault"))
{
DataVault.DeleteVault("myVault");
}