Udostępnij za pośrednictwem


RebuildAllCatalogs Method (Boolean)

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 ( _
    forceRebuild As Boolean _
) As RebuildProgress
'Usage
Dim instance As CatalogContext
Dim forceRebuild As Boolean
Dim returnValue As RebuildProgress

returnValue = instance.RebuildAllCatalogs(forceRebuild)
public RebuildProgress RebuildAllCatalogs(
    bool forceRebuild
)
public:
RebuildProgress^ RebuildAllCatalogs(
    bool forceRebuild
)
public function RebuildAllCatalogs(
    forceRebuild : boolean
) : RebuildProgress

Parameters

  • forceRebuild
    Type: System..::.Boolean
    true to force the catalogs to be rebuilt even if they are not marked as needing to be rebuilt; otherwise false.

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.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

RebuildAllCatalogs Overload

Microsoft.CommerceServer.Catalog Namespace