UseCacheCondition Property of the IFPCCacheRule Interface

The UseCacheCondition property gets or sets a value from the FpcCacheAction enumerated type that specifies the conditions under which an object should be retrieved from the cache. The possible types of cache usage behavior are:

For more information see How Forefront TMG Caching Works.

[C++]
HRESULT put_UseCacheCondition(
	FpcCacheAction CacheAction
);
HRESULT get_UseCacheCondition(
	FpcCacheAction* pCacheAction
);

Parameters

pCacheAction

Pointer to a value from the FpcCacheAction enumerated type that is set on return to the value specifying the cache usage behavior.

CacheAction

Value from the FpcCacheAction enumerated type that specifies the cache usage behavior.

Return Value

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

[Visual Basic]
Property UseCacheCondition As FpcCacheAction

Property Value

Value from the FpcCacheAction enumerated type that specifies the cache usage behavior.

Remarks

This property is read/write. Its default value is fpcServeFromCacheIfValidObjectExists, which indicates that the cached object should be used if there is a valid (unexpired) version of the object in the cache.

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

FPCCacheRule


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.