CacheRules Property of the IFPCCacheConfiguration Interface

The CacheRules property gets an FPCCacheRules collection that contains the cache rules which are applied.

HRESULT get_CacheRules(
	IFPCCacheRules** ppCacheRules



Address of an interface pointer that on return points to an IFPCCacheRules interface that represents the collection of cache rules.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]
Property CacheRules As FPCCacheRules

Property Value

Reference to the FPCCacheRules collection for the cache configuration.

Example Code

For a VBScript code example of using this property to retrieve the cache rules collection and then add new cache rules to the collection, see Adding Cache Rules.


This property is read-only. Cache rules can be added, removed, or modified, and their order of application can be changed by calling the methods of the FPCCacheRules collection retrieved (the IFPCCacheRules interface retrieved in C++).


Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Msfpccom.idl.


Requires Msfpccom.dll.

See Also


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.