IABTestManagerRenameVariant 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
Syntaxvoid 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.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when page is null. |
ArgumentException | Thrown when newVariantName is null, empty or has more than 100 characters. |
InvalidOperationException | Thrown when there is no variant with variantGuid identifier. |
See Also