Share via


LogFilesCompress Property of the IFPCLog Interface

The LogFilesCompress property gets or sets a Boolean value that indicates whether text log files will be compressed.
Note  This feature is supported only when logging to partitions formatted using the NTFS file system.

C++

HRESULT put_LogFilesCompress(
    VARIANT_BOOL fCompress
);
HRESULT get_LogFilesCompress(
    VARIANT_BOOL* pfCompress
);

Parameters

  • fCompress
    A Boolean value that indicates whether text log files will be compressed.

  • pfCompress
    Pointer to a Boolean variable that is set on return to VARIANT_TRUE if text log files will be compressed, or to VARIANT_FALSE if these files will not be compressed.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property LogFilesCompress As Boolean

Property Value

A Boolean value that indicates whether text log files will be compressed.

Remarks

This property is read/write. Its default value is False (VARIANT_FALSE in C++).

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCLog

Send comments about this topic to Microsoft

Build date: 6/30/2010