Click or drag to resize
CampaignInfoProviderGetCampaignInfo Method (String, String)

Note: This API is now obsolete.

Returns campaign with specified name.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ICampaignInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - CampaignInfo.Provider.")]
public static CampaignInfo GetCampaignInfo(
	string campaignName,
	string siteName
)

Parameters

campaignName
Type: SystemString
Campaign name
siteName
Type: SystemString
Site name

Return Value

Type: CampaignInfo
See Also