Share via


RebuildCatalogs Method

Rebuild all identified catalogs.

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

Syntax

'Declaration
Function RebuildCatalogs ( _
    siteName As String, _
    operationId As Guid, _
    catalogNames As String(), _
    ignoreInventorySystem As Boolean, _
    forceRebuild As Boolean _
) As Guid
'Usage
Dim instance As ICatalogRebuild
Dim siteName As String
Dim operationId As Guid
Dim catalogNames As String()
Dim ignoreInventorySystem As Boolean
Dim forceRebuild As Boolean
Dim returnValue As Guid

returnValue = instance.RebuildCatalogs(siteName, _
    operationId, catalogNames, ignoreInventorySystem, _
    forceRebuild)
Guid RebuildCatalogs(
    string siteName,
    Guid operationId,
    string[] catalogNames,
    bool ignoreInventorySystem,
    bool forceRebuild
)
Guid RebuildCatalogs(
    String^ siteName, 
    Guid operationId, 
    array<String^>^ catalogNames, 
    bool ignoreInventorySystem, 
    bool forceRebuild
)
function RebuildCatalogs(
    siteName : String, 
    operationId : Guid, 
    catalogNames : String[], 
    ignoreInventorySystem : boolean, 
    forceRebuild : boolean
) : Guid

Parameters

  • siteName
    Type: System..::.String
    The name of the Commerce site to which this Catalog will connect to.
  • operationId
    Type: System..::.Guid
    The unique identifier for the operation.
  • catalogNames
    Type: array<System..::.String>[]()[]
    The names of the catalogs to rebuild.
  • ignoreInventorySystem
    Type: System..::.Boolean
    A flag indicating that this connection should ignore an inventory system if one is present. true to ignore the inventory system; otherwise, false.

Return Value

Type: System..::.Guid
A GUID that identifies the rebuild operation.

Remarks

The interface used when rebuilding a catalog.

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

ICatalogRebuild Interface

ICatalogRebuild Members

Microsoft.CommerceServer.Catalog Namespace