VolumeDeleteDosDevice Method (String, String, Boolean) |
[AlphaFS] Deletes an MS-DOS device name.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DeleteDosDevice(
string deviceName,
string targetPath,
bool exactMatch
)
Public Shared Sub DeleteDosDevice (
deviceName As String,
targetPath As String,
exactMatch As Boolean
)
public:
static void DeleteDosDevice(
String^ deviceName,
String^ targetPath,
bool exactMatch
)
static member DeleteDosDevice :
deviceName : string *
targetPath : string *
exactMatch : bool -> unit
Parameters
- deviceName
- Type: SystemString
An MS-DOS device name string specifying the device to delete. - targetPath
- Type: SystemString
A pointer to a path string that will implement this device. The string is an MS-DOS path string unless the
RawTargetPath flag is specified, in which case this string is a path string.
- exactMatch
- Type: SystemBoolean
Only delete MS-DOS device on an exact name match. If exactMatch is ,
targetPath must be the same path used to create the mapping.
See Also