次の方法で共有


IFPCCacheConfiguration::ReturnExpiredTTLPercent property

Applies to: desktop apps only

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.

This property is read/write.

Syntax

HRESULT put_ReturnExpiredTTLPercent(
  long lFactor
);

HRESULT get_ReturnExpiredTTLPercent(
  long *plFactor
);
' Data type: Long

Property ReturnExpiredTTLPercent( _
  ByVal lFactor As long, _
  ByVal plFactor As long _
) 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.

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 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

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