Class DbScheduledJob
Defines a scheduled job item in the database
Inheritance
System.Object
DbScheduledJob
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.DbEntities
Assembly: ImageVault.Core.dll
Syntax
public class DbScheduledJob
Constructors
DbScheduledJob()
Default constructor
Declaration
public DbScheduledJob()
DbScheduledJob(String, String, Nullable<Int32>)
Declaration
public DbScheduledJob(string name, string type, int? interval = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | type | |
System.Nullable<System.Int32> | interval |
Properties
Interval
Get/Sets the Interval of the DbScheduledJob
Declaration
public int? Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The number of minutes between each run |
LastRun
Get/Sets the LastRun of the DbScheduledJob
Declaration
public DateTime? LastRun { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Name
Get/Sets the Name of the DbScheduledJob
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ScheduledJobId
Get/Sets the ScheduledJobId of the DbScheduledJob
Declaration
public int ScheduledJobId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Get/Sets the Type of the DbScheduledJob
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToScheduledJob()
Declaration
public ScheduledJob ToScheduledJob()
Returns
Type | Description |
---|---|
ScheduledJob |