deleteStorage (method)
Deletes the virtual drive.
Syntax
- (void)deleteStorage:(BOOL)forceUnmount;
public func deleteStorage(_ forceUnmount: Bool) throws -> Void
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 .
Note: This method cannot be called within events.