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

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.

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.

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 Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCCacheConfiguration


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.