Click or drag to resize
ContactGroupInfoProviderDisableScheduledTask Method

Note: This API is now obsolete.

Disables scheduled task connected to the given contact group.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use ContactGroupRebuildTaskManager.GetScheduledTask instead.")]
public static void DisableScheduledTask(
	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