DeleteStorage Method

Deletes the virtual disk.

procedure DeleteStorage(ForceUnmount: Boolean);

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 raises an exception.

Note: This method cannot be called within events.

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Disk 2020 Delphi Edition - Version 20.0 [Build 7650]