FileCreateSymbolicLinkTransacted Method (KernelTransaction, String, String, SymbolicLinkTarget) |
[AlphaFS] Creates a symbolic link.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void CreateSymbolicLinkTransacted(
KernelTransaction transaction,
string symlinkFileName,
string targetFileName,
SymbolicLinkTarget targetType
)
Public Shared Sub CreateSymbolicLinkTransacted (
transaction As KernelTransaction,
symlinkFileName As String,
targetFileName As String,
targetType As SymbolicLinkTarget
)
public:
static void CreateSymbolicLinkTransacted(
KernelTransaction^ transaction,
String^ symlinkFileName,
String^ targetFileName,
SymbolicLinkTarget targetType
)
static member CreateSymbolicLinkTransacted :
transaction : KernelTransaction *
symlinkFileName : string *
targetFileName : string *
targetType : SymbolicLinkTarget -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - symlinkFileName
- Type: SystemString
The name of the target for the symbolic link to be created. - targetFileName
- Type: SystemString
The symbolic link to be created. - targetType
- Type: Alphaleonis.Win32.FilesystemSymbolicLinkTarget
Indicates whether the link target, targetFileName, is a file or directory.
Exceptions Remarks See Also