Click or drag to resize
CachedABTestManagerRenameVariant Method
Renames an A/B test variant in page identified by variant GUID with given name.

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

Parameters

page
Type: CMS.DocumentEngineTreeNode
Page in which to rename the variant.
variantGuid
Type: SystemGuid
Unique identifier of the variant for which the change the name.
newVariantName
Type: SystemString
New name for the variant identified with variantGuid.

Implements

IABTestManagerRenameVariant(TreeNode, Guid, String)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when page is null.
ArgumentExceptionThrown when newVariantName is null, empty or has more than MAXIMUM_VARIANT_NAME_LENGTH characters.
InvalidOperationExceptionThrown when there is no variant with variantGuid identifier.
See Also