FileCompressTransacted Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Compresses a file using NTFS compression.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void CompressTransacted(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Sub CompressTransacted (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
)
public:
static void CompressTransacted(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member CompressTransacted :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A path that describes a file to compress. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
See Also