Microsoft Internet Security and Acceleration Server 2004 SDK

LogFileKeepOld Property of IFPCLog[C++]

FPCLog.LogFileKeepOld [Visual Basic]

[C++]

The LogFileKeepOld property gets or sets the number of days during which old log files will be retained. The default value is seven days.

HRESULT get_LogFileKeepOld(
  long* plKeepOld
);

HRESULT put_LogFileKeepOld(
  long lKeepOld
);

Parameters

plKeepOld
Pointer to a 32-bit integer that is set on return to the number of days during which old log files will be retained.
lKeepOld
A 32-bit integer that specifies the number of days during which old log files are to be retained.

Return Values

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

Remarks

This property is read/write.

This property applies only to text log files. Setting the value to 0 disables the storage of old log files.

[Visual Basic]

The LogFileKeepOld property gets or sets the number of days during which old log files will be retained. The default value is seven days.

Property LogFileKeepOld As Long

Property Value

A 32-bit integer that specifies the number of days during which old log files will be retained.

Remarks

This property is read/write.

This property applies only to text log files. Setting the value to 0 disables the storage of old log files.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCLog