Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.