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
- 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
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
- 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.