ShareDirectoryClient.delete Method
Definition
Deletes the directory in the file share. The directory must be empty before it can be deleted.
Code Samples
Delete the directory
shareDirectoryClient.delete();
System.out.println("Completed deleting the file.");
For more information, see the Azure Docs.
public void delete()