Click or drag to resize
ICampaignScheduleServiceLaunch Method
The method launches the specified campaign (campaign).

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax
C#
bool Launch(
	CampaignInfo campaign,
	int siteID
)

Parameters

campaign
Type: CMS.WebAnalyticsCampaignInfo
Campaign which is launched.
siteID
Type: SystemInt32
ID of the site on which the campaign is launched.

Return Value

Type: Boolean
True if the campaign has been launched.
Remarks
Launching a campaign includes the following steps:
  • The campaign starts tracking data.
  • All linked page assets are published.
  • All linked email assets are sent.
Does not launch an already launched campaign or a campaign from a different site. When pages are published, DocumentPublishFrom is set to Now. DocumentPublishTo is reset if the date is set to past. Pages under workflow are left untouched and all culture variants are published.
See Also