RefreshCache Method

Refreshes a marketing system cache (such as the Ads cache or the Disounts Cache).

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub RefreshCache ( _
    cacheName As String _
)
'Usage
Dim instance As MarketingWebService
Dim cacheName As String

instance.RefreshCache(cacheName)
[WebMethodAttribute]
public virtual void RefreshCache(
    string cacheName
)
[WebMethodAttribute]
public:
virtual void RefreshCache(
    String^ cacheName
)
public function RefreshCache(
    cacheName : String
)

Parameters

Exceptions

Exception Condition
NotAuthorizedException

The user is not authorized to perform the requested operation.

DatabaseIntegrityException

A serious integrity issue with the database.

Remarks

Refresh the marketing cache. Loads the marketing values into the marketing cache.

Use this method to force an immediate refresh of the Marketing System cache.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace