See the Forefront TMG Administration Object Model to view how the cache-related objects fit into the entire object hierarchy.
The FPCCache object is primarily a container for most of the configuration objects listed below. You can access the FPCCacheConfiguration and FPCCacheContents objects and the FPCScheduledContentDownload collection directly through this object. You can access the FPCActiveCacheConfiguration object and the FPCCacheRules through properties of the FPCCacheConfiguration object.
The FPCCacheConfiguration object is primarily a container for the FPCActiveCacheConfiguration object and the FPCCacheRules collection.
Active caching is always disabled in Forefront TMG.
The FPCFTPCacheConfiguration object provides access to the FTP caching settings for a single cache rule (an FPCCacheRule object). FTP caching is the caching of FTP objects. You can use this object to choose whether to activate FTP caching and configure the FTP caching settings for the cache rule.
The FPCHTTPCacheConfiguration object provides access to the HTTP caching settings for a single cache rule (an FPCCacheRule object). HTTP caching is the caching of HTTP objects. You can use this object to choose whether to activate HTTP caching and configure the HTTP caching settings for the cache rule.
The FPCCacheContents object permits greater control over caching through the FetchUrl method. This method is used to actively download a specific URL directly to the cache and to set the time that the cached object will be stored in the cache. The FetchUrl method can also be used to delete an object from the cache.
The FPCCacheDrives collection is accessed through a property of the FPCServer object and holds a set of FPCCacheDrive objects that represent thecache drives on the server. The FPCCacheDrive objects allow an administrator to programmatically access and adjust the size of the cache drives.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.