MaxTotalLogSizeGB Property of the IFPCLog Interface

The MaxTotalLogSizeGB property gets or sets the upper limit on the total amount of disk space used to store log files, in gigabytes.

C++

HRESULT put_MaxTotalLogSizeGB(
    long lMaxTotalLogSize
);
HRESULT get_MaxTotalLogSizeGB(
    long* plMaxTotalLogSize
);

Parameters

  • lMaxTotalLogSize
    A 32-bit integer that specifies the upper limit on the total total amount of disk space used to store log files, in gigabytes.

  • plMaxTotalLogSize
    Pointer to a 32-bit integer that is set on return to the upper limit on the total amount of disk space used to store log files, in gigabytes.

Return Value

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

Visual Basic

Property MaxTotalLogSizeGB As Long

Property Value

A 32-bit integer that specifies the upper limit on the total amount of disk space used to store log files, in gigabytes.

Remarks

This property is read/write. Its default value is 8, and it cannot be set to a value less than 4.

The limit is enforced only if the LimitTotalLogSize property is set to True (VARIANT_TRUE 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