Share via


GetProducts Method

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

NOTE: This API is now obsolete.

Use this method to get all properties for all of the products in this category object.

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

Syntax

'Declaration
<ObsoleteAttribute("Category.GetProducts has been replaced by Category.ChildProducts")> _
Public Function GetProducts As DataSet
'Usage
Dim instance As Category
Dim returnValue As DataSet

returnValue = instance.GetProducts()
[ObsoleteAttribute("Category.GetProducts has been replaced by Category.ChildProducts")]
public DataSet GetProducts()
[ObsoleteAttribute(L"Category.GetProducts has been replaced by Category.ChildProducts")]
public:
DataSet^ GetProducts()
public function GetProducts() : DataSet

Return Value

Type: System.Data..::.DataSet
The DataSet with a single DataTable that contains the product properties.

Remarks

Calling the GetProducts method is more efficient than calling any of the GetProducts methods with parameters.

Permissions

See Also

Reference

Category Class

Category Members

GetProducts Overload

Microsoft.CommerceServer.Catalog Namespace