DirectoryCompressTransacted Method (KernelTransaction, String) |
[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
)
Public Shared Sub CompressTransacted (
transaction As KernelTransaction,
path As String
)
public:
static void CompressTransacted(
KernelTransaction^ transaction,
String^ path
)
static member CompressTransacted :
transaction : KernelTransaction *
path : string -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A path that describes a directory to compress.
Exceptions Remarks This will only compress the root items (non recursive).
See Also