ICampaignScheduleServiceFinish Method |
Finishes the specified campaign (campaign).
Data will not be tracked anymore. Doesn't finish an already finished campaign.
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 12.0.0
Syntax 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:
BooleanTrue if the campaign has been finished.
See Also