Microsoft Internet Security and Acceleration Server 2004 SDK |
The FPCCacheRule object represents a single cache rule. A cache rule defines cache policy for all content or specific content groups, including:
This object is typically an element of an FPCCacheRules collection.
Click here to see the ISA Server object hierarchy.
The FPCCacheRule object defines the following method.
Method | Description |
---|---|
SetSizeBound | Sets the minimum or maximum size of the objects that can be cached. |
The FPCCacheRule object has the following properties.
Property | Description |
---|---|
CacheAuthenticatedContent | Gets or sets a Boolean value that indicates whether content supplied after user authentication through the proxy will be cached. |
CacheContentForOfflineBrowsing | Gets or sets a Boolean value that indicates whether responses will be cached for offline browsing. |
CacheDynamicContent | Gets or sets a Boolean value that indicates whether dynamic responses will be cached. |
CacheSSLResponses | Gets or sets a Boolean value that indicates whether responses are cached when the incoming or outgoing request uses SSL. |
Description | Gets or sets the description of the rule. |
DestinationDomainNameSets | Gets an FPCRefs collection that contains references to the FPCDomainNameSet collections defining the domain name sets to which the rule applies as destinations for requests. |
DestinationSelectionIPs | Gets an FPCSelectionIPs object that specifies the complete set of destination IP addresses to which the rule applies. |
Enabled | Gets or sets a Boolean value that indicates whether the rule is enabled. |
FTPConfiguration | Gets an FPCFTPCacheConfiguration object that defines the FTP cache configuration. |
HTTPConfiguration | Gets an FPCHTTPCacheConfiguration object that defines the HTTP cache configuration. |
IsDefault | Gets a Boolean value that indicates whether the rule is preinstalled and cannot be deleted. |
Name | Gets or sets the name of the cache rule. |
NeverCacheResponse | Gets or sets a Boolean value that indicates whether responses will never be cached. |
ObjectSizeLimit | Gets the maximum size of an object that can be cached. |
ObjectSizeLimitEnabled | Gets a Boolean value that indicates whether the object size limit is enabled. |
ObjectSizeLimitUnits | Gets a value from the FpcSizeUnits enumerated type that specifies the units in which the ObjectSizeLimit property is expressed. |
Order | Gets the ordinal position of the rule in the list of cache rules, which corresponds to their order of application. |
URLSets | Gets an FPCRefs collection that contains references to the FPCURLSet collections defining the URL sets to which the rule applies. |
UseCacheCondition | Gets or sets a value from the FpcCacheAction enumerated type that specifies the conditions under which an object should be retrieved from the cache. |
Name | Description |
---|---|
CancelWaitForChanges | Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only). |
CanImport | Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document. |
Export | Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML document. |
ExportToFile | Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML file. |
GetServiceRestartMask | Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect. |
Import | Recursively copies the values of all the properties of the object and of its subobjects from the specified XML document to persistent storage. |
ImportFromFile | Recursively copies the values of all the properties of the object and of its subobjects from the specified XML file to persistent storage. |
LoadDocProperties | Provides the XML document's properties so that you can know what information can be imported from the document. |
Refresh | Recursively reads the values of all the properties of the object and of its subobjects from persistent storage, overwriting any changes that have not been saved. |
Save | Recursively writes the current values of all the properties of the object and its subobjects to persistent storage. |
WaitForChanges | Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only). |
Name | Description |
---|---|
PersistentName | Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy. |
VendorParametersSets | Gets an FPCVendorParametersSets collection that can hold sets of custom data for extending the object. |
This object implements the IFPCCacheRule interface.
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.