GetVariants Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
NOTE: This API is now obsolete.
(Obsolete) GetVariants is obsolete, use Variants instead. Retrieve a CatalogItemsDataSet containing the product variants of this product family.
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 As CatalogItemsDataSet
'Usage
Dim instance As Product
Dim returnValue As CatalogItemsDataSet
returnValue = instance.GetVariants()
[ObsoleteAttribute("Product.GetVariants is obsolete, Use ProductFamily.Variants instead.")]
public CatalogItemsDataSet GetVariants()
[ObsoleteAttribute(L"Product.GetVariants is obsolete, Use ProductFamily.Variants instead.")]
public:
CatalogItemsDataSet^ GetVariants()
public function GetVariants() : CatalogItemsDataSet
Return Value
Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet
A DataSet containing the properties a single product variant.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.