Share via


IFPCHTTPCacheConfiguration::MaxIntervalValue property

Applies to: desktop apps only

The MaxIntervalValue property gets or sets the maximum Time to Live (TTL) of cached objects originating from HTTP requests.

This property is read/write.

Syntax

HRESULT put_MaxIntervalValue(
  long lMax
);

HRESULT get_MaxIntervalValue(
  long *plMax
);
' Data type: Long

Property MaxIntervalValue( _
  ByVal lMax As long, _
  ByVal plMax As long _
) As Long

Property value

A 32-bit integer that specifies the maximum TTL. The maximum TTL is expressed in the units specified by the MaxIntervalUnits property.

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 1, and its range of permissible values is from 0 through 9,999. By default, the maximum TTL of cached HTTP content is 1 day.

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

FPCHTTPCacheConfiguration

 

 

Build date: 7/12/2010