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