Share via


IFPCCacheConfiguration::ReturnExpiredMaxTime property

Applies to: desktop apps only

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.

This property is read/write.

Syntax

HRESULT put_ReturnExpiredMaxTime(
  long lMaxTime
);

HRESULT get_ReturnExpiredMaxTime(
  long *plMaxTime
);
' Data type: Long

Property ReturnExpiredMaxTime( _
  ByVal lMaxTime As long, _
  ByVal plMaxTime As long _
) 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.

Error codes

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCCacheConfiguration

 

 

Build date: 7/12/2010