Jaa


GetChildCategories Method (CatalogSearchOptions)

NOTE: This API is now obsolete.

(Obsolete) Retrieve a DataSet containing the child categories of this category using the searchOptions parameter to determine how the results are returned.

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

Syntax

'Declaration
<ObsoleteAttribute("Category.GetChildCategories has been replaced by Category.ChildCategories")> _
Public Function GetChildCategories ( _
    searchOptions As CatalogSearchOptions _
) As DataSet
'Usage
Dim instance As Category
Dim searchOptions As CatalogSearchOptions
Dim returnValue As DataSet

returnValue = instance.GetChildCategories(searchOptions)
[ObsoleteAttribute("Category.GetChildCategories has been replaced by Category.ChildCategories")]
public DataSet GetChildCategories(
    CatalogSearchOptions searchOptions
)
[ObsoleteAttribute(L"Category.GetChildCategories has been replaced by Category.ChildCategories")]
public:
DataSet^ GetChildCategories(
    CatalogSearchOptions^ searchOptions
)
public function GetChildCategories(
    searchOptions : CatalogSearchOptions
) : DataSet

Parameters

Return Value

Type: System.Data..::.DataSet
The DataSet contains a single DataTable with the child category property data.

Remarks

A CatalogSearchOptions object can be provided to catalog methods that perform a database search to specify which records to return, how to sort the result set, and so on. Note that not all methods respect all of the settings. When the site is run in Debug mode or Checked mode, a warning message will be logged to the active DebugContext object whenever a setting has been made that cannot be respected.

GetChildCategories has been replaced by Category.ChildCategories.

Permissions

See Also

Reference

Category Class

Category Members

GetChildCategories Overload

Microsoft.CommerceServer.Catalog Namespace