ForceUnmount Method
Forcefully unmounts the virtual drive associated with the specified vault. (Windows only).
Syntax
func (obj *CBDrive) ForceUnmount(VaultFile string) error
Remarks
This method instructs the CBFS Storage driver to forcefully unmount the virtual drive associated with the vault storage file specified by VaultFile. Typically, this is only necessary if an application crashes without first unmounting the virtual drive(s) that it created.
Please note that only the processes which have access to a vault storage file may forcefully unmount a virtual drive associated with it.
The value passed for VaultFile must be a fully-qualified file path formatted according to OS conventions.
Note: This method cannot be called within events.