Click or drag to resize
TaskInfoProviderFetchTasksToRunInternal Method
Gets scheduled tasks to run, the process is expected to set the next run time for next task iteration.

Namespace: CMS.Scheduler
Assembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 10.0.0
Syntax
C#
protected virtual InfoDataSet<TaskInfo> FetchTasksToRunInternal(
	string siteName,
	string serverName,
	int lastProcessedTaskID,
	Nullable<bool> useExternalService
)

Parameters

siteName
Type: SystemString
Site name
serverName
Type: SystemString
Server name
lastProcessedTaskID
Type: SystemInt32
Identifier of last processed task. IDs of all fetched tasks will be higher than this one.
useExternalService
Type: SystemNullableBoolean
Indicates if tasks is processed by service. If null, all tasks are fetched.

Return Value

Type: InfoDataSetTaskInfo
Dataset with information about scheduled tasks
See Also