Class ScheduleItem
Represents one item in the scheduler.
Implements
Inherited Members
Namespace: DotNetNuke.Services.Scheduling
Assembly: DotNetNuke.dll
Syntax
public class ScheduleItem : BaseEntityInfo, IHydratable
Constructors
| Improve this Doc View SourceScheduleItem()
Initializes a new instance of the ScheduleItem class.
Declaration
public ScheduleItem()
Properties
| Improve this Doc View SourceAttachToEvent
Gets or sets the the event this item attaches to.
Declaration
public string AttachToEvent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CatchUpEnabled
Gets or sets a value indicating whether cath-up is enabled.
Declaration
public bool CatchUpEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Enabled
Gets or sets a value indicating whether the item is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FriendlyName
Gets or sets the friednly name for the item.
Declaration
public string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KeyID
Represents one item in the scheduler.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NextStart
Gets or sets the next start date.
Declaration
public virtual DateTime NextStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
ObjectDependencies
Gets or sets the object dependencies.
Declaration
public string ObjectDependencies { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProcessGroup
Gets or sets the process group.
Declaration
public int ProcessGroup { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RetainHistoryNum
Gets or sets a value indicating how many history items to keep.
Declaration
public int RetainHistoryNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RetryTimeLapse
Gets or sets the retry time lapse value.
Declaration
public int RetryTimeLapse { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RetryTimeLapseMeasurement
Gets or sets the unit of measure for the retry time lapse value.
Declaration
public string RetryTimeLapseMeasurement { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ScheduleID
Gets or sets the ID of the scheduled item.
Declaration
public int ScheduleID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ScheduleSource
Gets or sets the ScheduleSource.
Declaration
public ScheduleSource ScheduleSource { get; set; }
Property Value
Type | Description |
---|---|
ScheduleSource |
ScheduleStartDate
Gets or sets the schedule start date.
Declaration
public DateTime ScheduleStartDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Servers
Gets or sets the servers this task should run on.
Declaration
public string Servers { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThreadID
Gets or sets the ID of the running thread.
Declaration
public int ThreadID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TimeLapse
Gets or sets the recurrence time lapse value.
Declaration
public int TimeLapse { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TimeLapseMeasurement
Gets or sets the unit of measure for the recurrence time lapse value.
Declaration
public string TimeLapseMeasurement { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TypeFullName
Gets or sets the full type name.
Declaration
public string TypeFullName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddSetting(String, String)
Adds a schedule item setting value.
Declaration
public void AddSetting(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The setting key. |
System.String | value | The value of the setting. |
Fill(IDataReader)
Represents one item in the scheduler.
Declaration
public virtual void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr |
FillInternal(IDataReader)
Fills a BaseEntityInfo from a Data Reader.
Declaration
protected override void FillInternal(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | The Data Reader to use. |
Overrides
| Improve this Doc View SourceGetSetting(String)
Gets a specific setting.
Declaration
public virtual string GetSetting(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of the setting to get. |
Returns
Type | Description |
---|---|
System.String | The value of the setting. |
GetSettings()
Gets all the item settings.
Declaration
public virtual Hashtable GetSettings()
Returns
Type | Description |
---|---|
Hashtable | An |
HasObjectDependencies(String)
Gets or sets a value indicating whether the item has object dependencies.
Declaration
public bool HasObjectDependencies(string strObjectDependencies)
Parameters
Type | Name | Description |
---|---|---|
System.String | strObjectDependencies | A string representing the name of the object dependencies. |
Returns
Type | Description |
---|---|
System.Boolean | A value indicating whether the item has object dependencies. |