Share via


GetVariants Method (CatalogSearchOptions)

NOTE: This API is now obsolete.

(Obsolete) GetVariants is obsolete, use Variants instead. Retrieve a DataSet containing the product variants of this product family, with the filtering options applied.

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

Syntax

'Declaration
<ObsoleteAttribute("Product.GetVariants is obsolete, Use ProductFamily.Variants instead.")> _
Public Function GetVariants ( _
    searchOptions As CatalogSearchOptions _
) As CatalogItemsDataSet
'Usage
Dim instance As Product
Dim searchOptions As CatalogSearchOptions
Dim returnValue As CatalogItemsDataSet

returnValue = instance.GetVariants(searchOptions)
[ObsoleteAttribute("Product.GetVariants is obsolete, Use ProductFamily.Variants instead.")]
public CatalogItemsDataSet GetVariants(
    CatalogSearchOptions searchOptions
)
[ObsoleteAttribute(L"Product.GetVariants is obsolete, Use ProductFamily.Variants instead.")]
public:
CatalogItemsDataSet^ GetVariants(
    CatalogSearchOptions^ searchOptions
)
public function GetVariants(
    searchOptions : CatalogSearchOptions
) : CatalogItemsDataSet

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet
A DataSet containing the properties a single product variant.

Remarks

A DataSet containing the properties a single product variant.

Permissions

See Also

Reference

Product Class

Product Members

GetVariants Overload

Microsoft.CommerceServer.Catalog Namespace