Share via


GetVariantProperties Method

NOTE: This API is now obsolete.

(Obsolete) GetVariantProperties is obsolete, use ProductFamily.GetVariant instead. Retrieve a DataSet containing the properties a single product variant.

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

Syntax

'Declaration
<ObsoleteAttribute("Use ProductFamily.GetVariant")> _
Public Overrides Function GetVariantProperties ( _
    variantId As Object _
) As DataSet
'Usage
Dim instance As ProductFamily
Dim variantId As Object
Dim returnValue As DataSet

returnValue = instance.GetVariantProperties(variantId)
[ObsoleteAttribute("Use ProductFamily.GetVariant")]
public override DataSet GetVariantProperties(
    Object variantId
)
[ObsoleteAttribute(L"Use ProductFamily.GetVariant")]
public:
virtual DataSet^ GetVariantProperties(
    Object^ variantId
) override
public override function GetVariantProperties(
    variantId : Object
) : DataSet

Parameters

  • variantId
    Type: System..::.Object
    The Variant Id of the variant to retrieve. Should not be nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

Type: System.Data..::.DataSet
A DataSet containing the properties a single product variant.

Remarks

This method only applies to Product Family types.

Permissions

See Also

Reference

ProductFamily Class

ProductFamily Members

Microsoft.CommerceServer.Catalog Namespace