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
- cacheName
Type: System..::.String
The name of the marketing cache to be refreshed.
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
- 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.