Try our conversational search powered by Generative AI!

Class SchedulerDB

Summary description for SchedulerData. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
SchedulerDB
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration]
public class SchedulerDB : DataAccessBase

Constructors

SchedulerDB(IDatabaseHandler)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public SchedulerDB(IDatabaseHandler databaseHandler)
Parameters
Type Name Description
IDatabaseHandler databaseHandler

Methods

Add(String, Boolean, String, String, Byte[], DateTime, String, Int32, ref Boolean)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public Guid Add(string methodName, bool fStatic, string typeName, string assemblyName, byte[] data, DateTime dtExec, string sRecurDatePart, int interval, ref bool fRefresh)
Parameters
Type Name Description
System.String methodName
System.Boolean fStatic
System.String typeName
System.String assemblyName
System.Byte[] data
System.DateTime dtExec
System.String sRecurDatePart
System.Int32 interval
System.Boolean fRefresh
Returns
Type Description
System.Guid

GetNextScheduledItem()

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataTable GetNextScheduledItem()
Returns
Type Description
System.Data.DataTable

Returns a new ScheduledItem (or null if none) to be executed

List()

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataSet List()
Returns
Type Description
System.Data.DataSet

ListLog(Guid)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataSet ListLog(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Data.DataSet

Load(Guid)

Loads a specific job This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataTable Load(Guid id)
Parameters
Type Name Description
System.Guid id

ID of the job

Returns
Type Description
System.Data.DataTable

MarkEIForExecution(Guid, DateTime, TimeSpan)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public bool MarkEIForExecution(Guid id, DateTime nextExec, TimeSpan pingTime)
Parameters
Type Name Description
System.Guid id

The GUID of the execution item.

System.DateTime nextExec

The next time this execution item should be invoked.

System.TimeSpan pingTime

The ping time.

Returns
Type Description
System.Boolean

Returns True if it has been successfully marked for execution in the backend

Remove(Guid)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void Remove(Guid Id)
Parameters
Type Name Description
System.Guid Id

ReportExecuteItem(Guid, Int32, String)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void ReportExecuteItem(Guid id, int status, string text)
Parameters
Type Name Description
System.Guid id
System.Int32 status
System.String text

Save(DataSet)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public DataSet Save(DataSet data)
Parameters
Type Name Description
System.Data.DataSet data
Returns
Type Description
System.Data.DataSet

UpdateCurrentStatusMessage(Guid, String)

Update the current status message on the job This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void UpdateCurrentStatusMessage(Guid id, string statusMessage)
Parameters
Type Name Description
System.Guid id

Id of the Job

System.String statusMessage

Message

UpdateRunningState(Guid, Boolean)

Update the running state for a specific job This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public void UpdateRunningState(Guid id, bool isRunning)
Parameters
Type Name Description
System.Guid id

Job

System.Boolean isRunning

State

Extension Methods