Click or drag to resize
ICampaignScheduleService.Reschedule Method
Re-plans the launch and finish of the specified campaign (campaign) in future. This is only possible if the campaign has not been launched or finished yet.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 11.0.0
Syntax
C#
bool Reschedule(
	CampaignInfo campaign,
	DateTime from,
	DateTime to,
	int siteID
)

Parameters

campaign
Type: CMS.WebAnalytics.CampaignInfo
Campaign which is re-scheduled.
from
Type: System.DateTime
Planned launch (start) of the campaign.
to
Type: System.DateTime
Planned finish (end) of the campaign.
siteID
Type: System.Int32
ID of site on which the campaign is re-scheduled.

Return Value

Type: Boolean
True if the campaign has been re-scheduled.
Remarks
A scheduled task is updated for the campaign launch. The task is executed based on the from parameter.
See Also