CBFS Connect 2020 Java Edition

Questions / Feedback?

DeleteStorage Method

Deletes the virtual drive.

Syntax

public void deleteStorage(boolean forceUnmount);

Remarks

This method attempts to delete the virtual drive. The ForceUnmount parameter controls how this method behaves if any mounting points currently exist for the virtual drive.

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

Note: This method cannot be called within events.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 Java Edition - Version 20.0 [Build 8348]