RefreshSiteCache Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Refreshes the catalog cache on the runtime sites.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub RefreshSiteCache
'Usage
Dim instance As CatalogContext
instance.RefreshSiteCache()
public void RefreshSiteCache()
public:
void RefreshSiteCache()
public function RefreshSiteCache()
Remarks
Refreshes the cache of the catalog system. If caching is enabled is on the runtime site, the catalog system caches catalog information. Any updates to the catalog data can cause this cached information to be outdated.
Any updates to the catalog data can cause this cached information to be outdated. Use this method to update the catalog cache on the runtime sites.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.