Jaa


GetRootProducts Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

NOTE: This API is now obsolete.

(Obsolete) Root products and categories are obsolete, use GetRootCategory instead. Returns the root products for the current instance.

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

Syntax

'Declaration
<ObsoleteAttribute("Root products and categories are obsolete, use GetRootCategory() instead")> _
Public Function GetRootProducts As CatalogItemsDataSet
'Usage
Dim instance As ProductCatalog
Dim returnValue As CatalogItemsDataSet

returnValue = instance.GetRootProducts()
[ObsoleteAttribute("Root products and categories are obsolete, use GetRootCategory() instead")]
public CatalogItemsDataSet GetRootProducts()
[ObsoleteAttribute(L"Root products and categories are obsolete, use GetRootCategory() instead")]
public:
CatalogItemsDataSet^ GetRootProducts()
public function GetRootProducts() : CatalogItemsDataSet

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet
A CatalogItemsDataSet containing the root products for the current instance.

Remarks

The multilingual information for the root products will be in the current ActiveLanguage of the catalog. The returned dataset will contain all one row for each root product in the catalog. The dataset will contain all the properties in the catalog.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

GetRootProducts Overload

Microsoft.CommerceServer.Catalog Namespace