CachedABTestManagerRenameVariant Method |
Renames an A/B test variant in page identified by variant GUID with given name.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax 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 Exception | Condition |
---|
ArgumentNullException | Thrown when page is null. |
ArgumentException | Thrown when newVariantName is null, empty or has more than MAXIMUM_VARIANT_NAME_LENGTH characters. |
InvalidOperationException | Thrown when there is no variant with variantGuid identifier. |
See Also