Click or drag to resize
ContactGroupInfoProviderEnableScheduledTask Method

Note: This API is now obsolete.

Enables scheduled task connected to the given contact group. If such task does not exits, creates a new one.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use ContactGroupRebuildTaskManager.GetScheduledTask instead.")]
public static void EnableScheduledTask(
	ContactGroupInfo contactGroup
)

Parameters

contactGroup
Type: CMS.OnlineMarketingContactGroupInfo
Contact group containing the scheduled task
Exceptions
ExceptionCondition
ArgumentExceptionTask info ID provided in contactGroup is null. -or-Task info with ID provided in contactGroup does not exist.
ArgumentNullExceptioncontactGroup is null
See Also