Click or drag to resize
ContentPersonalizationVariantInfoProviderGetContentPersonalizationVariantIdInternal Method

Note: This API is now obsolete.

Returns the Content personalization variant id for the specified template and code name.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use object query.")]
protected virtual int GetContentPersonalizationVariantIdInternal(
	int pageTemplateId,
	string variantName
)

Parameters

pageTemplateId
Type: SystemInt32
The page template id
variantName
Type: SystemString
The variant code name

Return Value

Type: Int32
See Also