DeleteStorage Method
Deletes the virtual disk.
Syntax
func (obj *CBDisk) DeleteStorage(ForceUnmount bool) error
Remarks
This method attempts to delete the virtual disk. The ForceUnmount parameter controls how this method behaves if any mounting points currently exist for the virtual disk.
If ForceUnmount is true, any existing mounting points are forcibly removed (and any open handles are closed along the way). If ForceUnmount is false and any mounting points exist for it, this method fails with an error.
Note: This method cannot be called within events.