Share via


ReturnExpiredTTLPercent Property of the IFPCCacheConfiguration Interface

The ReturnExpiredTTLPercent property gets or sets the percentage of an expired cached object's Time to Live (TTL) during which the object may be returned if the returning of expired cached objects is enabled.

C++

HRESULT put_ReturnExpiredTTLPercent(
    long lFactor
);
HRESULT get_ReturnExpiredTTLPercent(
    long* plFactor
);

Parameters

  • lFactor
    A 32-bit integer that specifies the percentage of an expired cached object's TTL during which the object may be returned if the returning of expired cached objects is enabled.

  • plFactor
    Pointer to a variable that receives a 32-bit integer specifying the percentage of an expired cached object's TTL during which the 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 ReturnExpiredTTLPercent As Long

Property Value

A 32-bit integer that specifies the percentage of an expired cached object's TTL during which the object may be returned if the returning of expired cached objects is enabled.

Remarks

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

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