RebuildAllCatalogs Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Rebuild all virtual catalogs in the catalog system.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function RebuildAllCatalogs As RebuildProgress
'Usage
Dim instance As CatalogContext
Dim returnValue As RebuildProgress
returnValue = instance.RebuildAllCatalogs()
public RebuildProgress RebuildAllCatalogs()
public:
RebuildProgress^ RebuildAllCatalogs()
public function RebuildAllCatalogs() : RebuildProgress
Return Value
Type: Microsoft.CommerceServer.Catalog..::.RebuildProgress
A RebuildProgress object which allows tracking the asynchronous operation.
Remarks
A virtual catalog should be rebuilt when changes are made to existing categories or products in the base catalog or virtual catalog, or adding or deleting base catalogs or products. This method will rebuild all dirty catalogs. This method is equivalent to calling RebuildAllCatalogs(false).
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.