Share via


ReturnExpiredMaxTime Property of the IFPCCacheConfiguration Interface

The ReturnExpiredMaxTime property gets or sets the maximum time, in minutes, during which an expired cached object may be returned if the returning of expired cached objects is enabled.

C++

HRESULT put_ReturnExpiredMaxTime(
    long lMaxTime
);
HRESULT get_ReturnExpiredMaxTime(
    long* plMaxTime
);

Parameters

  • lMaxTime
    A 32-bit integer that specifies the maximum time, in minutes, during which an expired cached object may be returned if the returning of expired cached objects is enabled.

  • plMaxTime
    Pointer to a variable that receives a 32-bit integer specifying the maximum time, in minutes, during which an expired cached object may be returned if the returning of expired cached objects is enabled.

Return Value

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

Visual Basic

Property ReturnExpiredMaxTime As Long

Property Value

A 32-bit integer that specifies the maximum time, in minutes, during which an expired cached object may be returned if the returning of expired cached objects is enabled.

Remarks

This property is read/write. Its default value is 60, and its range of permissible values is from 1 through 9,999.

The time set in this property is useful for situations where a server cannot be reached to revalidate an expired cached object.

The returning of expired cached objects can be enabled through the ReturnExpiredEnable property.

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

FPCCacheConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010