Click or drag to resize
IABTestManagerUpdateVariant Method
Updates an A/B test variant in page identified by variant GUID with given Page builder widgets configuration.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 12.0.0
Syntax
C#
void UpdateVariant(
	TreeNode page,
	Guid variantGuid,
	VariantConfigurationSource configurationSource
)

Parameters

page
Type: CMS.DocumentEngineTreeNode
Page in which to update the variant.
variantGuid
Type: SystemGuid
Unique identifier of the variant for which to update the configuration.
configurationSource
Type: CMS.OnlineMarketing.InternalVariantConfigurationSource
Source of the configuration to update the variant with.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when page or configurationSource is null.
ArgumentExceptionThrow when variantGuid does not identify an existing variant within page.
See Also