CatalogContext.Refresh Method (BCL)

Use this method to flush the cached data. The next time that data is queried, it will be retrieved from the Catalog COM API, and thereby the cache will gradually be filled with the coherent design-time view of the data.

[Visual Basic .NET]

Overridable Public Sub Refresh( _) 

[C#]

public virtual void Refresh();

Remarks

The following properties on the catalog are refreshed:

  • CatalogNames
  • PropertyNames
  • CategoryDefinitions
  • ProductDefinitionNames
  • CatalogSetCollection
  • ProductCatalog, Product, Category cached data

 

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.