Click or drag to resize
ICampaignScheduleServiceFinish Method
Finishes the specified campaign (campaign). Data will not be tracked anymore. Doesn't finish an already finished campaign.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 10.0.0
Syntax
C#
bool Finish(
	CampaignInfo campaign,
	int siteID,
	Nullable<DateTime> finishDate = null
)

Parameters

campaign
Type: CMS.WebAnalyticsCampaignInfo
Campaign which is finished.
siteID
Type: SystemInt32
ID of the site on which the campaign is finished.
finishDate (Optional)
Type: SystemNullableDateTime
Time when the campaign is finished. If null, Now is used.

Return Value

Type: Boolean
True if the campaign has been finished.
See Also