FileOpenBackupReadTransacted Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Opens the specified file for reading purposes bypassing security attributes.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static FileStream OpenBackupReadTransacted(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function OpenBackupReadTransacted (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As FileStream
public:
static FileStream^ OpenBackupReadTransacted(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member OpenBackupReadTransacted :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> FileStream
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file path to open. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
FileStreamA
FileStream on the specified path, having the read-only mode and sharing options.
See Also