DirectoryDisableCompression Method (KernelTransaction, String) |
[AlphaFS] Disables NTFS compression of the specified directory and the files in it.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void DisableCompression(
KernelTransaction transaction,
string path
)
Public Shared Sub DisableCompression (
transaction As KernelTransaction,
path As String
)
public:
static void DisableCompression(
KernelTransaction^ transaction,
String^ path
)
static member DisableCompression :
transaction : KernelTransaction *
path : string -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
A path to a directory to decompress.
Remarks This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed.
See Also