Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CacheRules property gets an FPCCacheRules collection that contains the cache rules which are applied.
C++
HRESULT get_CacheRules(
IFPCCacheRules** ppCacheRules
);
Parameters
- 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.
Remarks
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++).
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
Send comments about this topic to Microsoft
Build date: 6/30/2010