Partager via


Rebuild Method (Boolean)

This method starts a catalog rebuild.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function Rebuild ( _
    forceRebuild As Boolean _
) As RebuildProgress
'Usage
Dim instance As VirtualCatalog
Dim forceRebuild As Boolean
Dim returnValue As RebuildProgress

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

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.RebuildProgress
A RebuildProgress representing the operation in progress.

Remarks

Rebuild a catalog and all of its dependent catalogs.

When called on a virtual catalog, causes the virtual catalog and all of its views to be rebuilt. If forceRebuild is set to true, the catalogs will be rebuilt even if they are not dirty. If forceRebuild is set to false the catalogs will be rebuilt only if they are dirty.

Permissions

See Also

Reference

VirtualCatalog Class

VirtualCatalog Members

Rebuild Overload

Microsoft.CommerceServer.Catalog Namespace