Click or drag to resize
VolumeDeleteVolumeMountPoint Method
Deletes a Drive letter or mounted folder.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void DeleteVolumeMountPoint(
	string volumeMountPoint
)

Parameters

volumeMountPoint
Type: SystemString
The Drive letter or mounted folder to be deleted. For example, X:\ or Y:\MountX\.
Remarks
Deleting a mounted folder does not cause the underlying directory to be deleted.
Remarks
If the volumeMountPoint parameter is a directory that is not a mounted folder, the function does nothing. The directory is not deleted.
Remarks
It's not an error to attempt to unmount a volume from a volume mount point when there is no volume actually mounted at that volume mount point.
See Also