RebuildDependentCatalogs Method (Boolean)
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This method starts a catalog rebuild on all dependent catalogs.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function RebuildDependentCatalogs ( _
forceRebuild As Boolean _
) As RebuildProgress
'Usage
Dim instance As BaseCatalog
Dim forceRebuild As Boolean
Dim returnValue As RebuildProgress
returnValue = instance.RebuildDependentCatalogs(forceRebuild)
public RebuildProgress RebuildDependentCatalogs(
bool forceRebuild
)
public:
RebuildProgress^ RebuildDependentCatalogs(
bool forceRebuild
)
public function RebuildDependentCatalogs(
forceRebuild : boolean
) : RebuildProgress
Parameters
- forceRebuild
Type: System..::.Boolean
true to force a rebuild; otherwise, false.
Return Value
Type: Microsoft.CommerceServer.Catalog..::.RebuildProgress
A RebuildProgress representing the operation in progress.
Remarks
Rebuilds a catalog and all of its dependent virtual catalogs and their views. 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
- 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.