VolumeDeleteVolumeMountPoint Method |
Deletes a Drive letter or mounted folder.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void DeleteVolumeMountPoint(
string volumeMountPoint
)
Public Shared Sub DeleteVolumeMountPoint (
volumeMountPoint As String
)
public:
static void DeleteVolumeMountPoint(
String^ volumeMountPoint
)
static member DeleteVolumeMountPoint :
volumeMountPoint : string -> unit
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