IABTestManagerRemoveVariant Method |
Removes an A/B test variant identified by variantGuid from page.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax 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.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when page is null. |
ArgumentException | Throw when variantGuid does not identify an existing variant within page. |
InvalidOperationException | Thrown when the original A/B variant is to be deleted. |
See Also