Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariantManager Class / ScrubVariantGrid Method / ScrubVariantGrid(Int32,Int32) Method
Product for which the variant grid is being scrubbed
The ID of a known invalid choice, for instance due to a delete operation
In This Topic
    ScrubVariantGrid(Int32,Int32) Method
    In This Topic
    Removes records from the variant grid linked to the given invalid choice ID
    Syntax
    public static void ScrubVariantGrid( 
       int productId,
       int invalidOptionChoiceId
    )

    Parameters

    productId
    Product for which the variant grid is being scrubbed
    invalidOptionChoiceId
    The ID of a known invalid choice, for instance due to a delete operation
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also