Click or drag to resize
ICampaignScheduleServiceReschedule 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: 12.0.0
Syntax
C#
bool Reschedule(
	CampaignInfo campaign,
	DateTime from,
	DateTime to,
	int siteID
)

Parameters

campaign
Type: CMS.WebAnalyticsCampaignInfo
Campaign which is re-scheduled.
from
Type: SystemDateTime
Planned launch (start) of the campaign.
to
Type: SystemDateTime
Planned finish (end) of the campaign.
siteID
Type: SystemInt32
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