Click or drag to resize
SKUAllowedOptionInfoProviderRemoveOptionFromProduct Method

Note: This API is now obsolete.

Deletes relationship between specified product and option.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISKUAllowedOptionInfoProvider.Remove(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SKUAllowedOptionInfo.Provider.")]
public static void RemoveOptionFromProduct(
	int productId,
	int optionId
)

Parameters

productId
Type: SystemInt32
Product ID (SKUID).
optionId
Type: SystemInt32
Product option ID (SKUID).
See Also