Click or drag to resize
VolumeSetVolumeMountPoint Method
Associates a volume with a Drive letter or a directory on another volume.

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

Parameters

volumeMountPoint
Type: SystemString
The user-mode path to be associated with the volume. This may be a Drive letter (for example, "X:\") or a directory on another volume (for example, "Y:\MountX\").
volumeGuid
Type: SystemString
A String containing the volume Guid.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when one or more required arguments are null.
ArgumentExceptionThrown when one or more arguments have unsupported or illegal values.
See Also