Share via


ProductCatalog.GetRootCategories (CatalogSearchOptions) Method (BCL)

Use this method to get the root categories in the catalog and return the results according to the searchOptions parameter.

Definition

[Visual Basic .NET]

Overridable Public Function GetRootCategories( _ByValsearchOptions As CatalogSearchOptions _
) As System.Data.DataSet

[C#]

public virtual System.Data.DataSet GetRootCategories(CatalogSearchOptionssearchOptions);

Parameters

[Visual Basic .NET]

  • searchOptions
    The CatalogSearchOptions object. May be null.

[C#]

  • searchOptions
    The CatalogSearchOptions object. May be null.

Return Value

A DataSet with a single DataTable containing the root products.

Remarks

Throws a CatalogException on failure.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.