Click or drag to resize
CachedABTestManagerRemoveVariant Method
Removes an A/B test variant identified by variantGuid from page.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax
C#
public void RemoveVariant(
	TreeNode page,
	Guid variantGuid
)

Parameters

page
Type: CMS.DocumentEngineTreeNode
Page from which to remove a variant.
variantGuid
Type: SystemGuid
GUID of the variant to be removed.

Implements

IABTestManagerRemoveVariant(TreeNode, Guid)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when page is null.
ArgumentExceptionThrow when variantGuid does not identify an existing variant within page.
InvalidOperationExceptionThrown when the original A/B variant is to be deleted.
See Also