Microsoft Internet Security and Acceleration Server 2004 SDK

CacheRules Property of IFPCCacheConfiguration[C++]

FPCCacheConfiguration.CacheRules [Visual Basic]

[C++]

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

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 Values

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 IFPCCacheRules interface retrieved.

[Visual Basic]

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

Property CacheRules As FPCCacheRules

Property Value

Reference to the FPCCacheRules collection for the cache configuration.

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.

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.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCCacheConfiguration