ABTestManagerRenameVariant Method |
Namespace: CMS.OnlineMarketing
public void RenameVariant( TreeNode page, Guid variantGuid, string newVariantName )
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. |