Freigeben über


SiteCacheRefresh Constructor

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the SiteCacheRefresh class.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New SiteCacheRefresh()
public SiteCacheRefresh()
public:
SiteCacheRefresh()
public function SiteCacheRefresh()

Remarks

The following caches are affected:

  • CatalogCache to refresh all catalog caches.

  • CommerceCaches to refresh all site caches configured in web.config.

  • SiteTermCache to refresh the site term cache.

  • ProfileCache to refresh all profiles and site terms.

  • ProfileCache.keyvalue.profiletype to refresh the single profile instance of type profiletype with primary key value keyvalue.

  • AllMarketingCaches to refresh all site caches configured in web.config that are of type "Discounts" or "Advertising".

  • The name of a specific site cache configured in web.config.

Permissions

See Also

Reference

SiteCacheRefresh Class

SiteCacheRefresh Members

Microsoft.CommerceServer.Runtime Namespace