Share via


IFPCCacheConfiguration::CacheRules property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_CacheRules(
  IFPCCacheRules **ppCacheRules
);
' Data type: FPCCacheRules

Property CacheRules( _
  ByVal ppCacheRules As IFPCCacheRules _
) As FPCCacheRules

Property value

Reference to the FPCCacheRules collection for the cache configuration.

Error codes

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

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++).

Examples

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.

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