DirectoryDeleteJunction Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Deletes an NTFS directory junction.
Remarks Only the directory junction is removed, not the target.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DeleteJunction(
KernelTransaction transaction,
string junctionPath,
PathFormat pathFormat
)
Public Shared Sub DeleteJunction (
transaction As KernelTransaction,
junctionPath As String,
pathFormat As PathFormat
)
public:
static void DeleteJunction(
KernelTransaction^ transaction,
String^ junctionPath,
PathFormat pathFormat
)
static member DeleteJunction :
transaction : KernelTransaction *
junctionPath : string *
pathFormat : PathFormat -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - junctionPath
- Type: SystemString
The path of the junction point to remove. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
A
DirectoryInfo instance referencing the junction point.
Exceptions See Also