DirectoryCompressTransacted Method (KernelTransaction, String, DirectoryEnumerationFilters) |
[AlphaFS] Compresses a directory using NTFS compression.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void CompressTransacted(
KernelTransaction transaction,
string path,
DirectoryEnumerationFilters filters
)
Public Shared Sub CompressTransacted (
transaction As KernelTransaction,
path As String,
filters As DirectoryEnumerationFilters
)
public:
static void CompressTransacted(
KernelTransaction^ transaction,
String^ path,
DirectoryEnumerationFilters^ filters
)
static member CompressTransacted :
transaction : KernelTransaction *
path : string *
filters : DirectoryEnumerationFilters -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A path that describes a directory to compress. - filters
- Type: Alphaleonis.Win32.FilesystemDirectoryEnumerationFilters
The specification of custom filters to be used in the process.
Exceptions Remarks This will only compress the root items (non recursive).
See Also