CampaignInfoProviderCampaignIsRunning Method (String, String) |
Returns true if campaign is enabled and is valid for current date time.
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 8.2.23
Syntax public static bool CampaignIsRunning(
string campaignName,
string siteName
)
Parameters
- campaignName
- Type: SystemString
Campaign name - siteName
- Type: SystemString
Site name
Return Value
Type:
BooleanSee Also