This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class ScheduledJob
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class ScheduledJob

The type exposes the following members.

Protected Constructors

  Name Description
Protected method ScheduledJob
Empty constructor for inherited classes.

Public Methods

  Name Description
Public method Dispose
Disposes this instance.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Kill
Attempts to kill the job.
Public method Run Overloaded.
Public method Stop Overloaded.
Public method ToString (Inherited from Object.)
Public method Wait
Waits until this job is finished.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Protected Fields

  Name Description
Protected field Static member MaxPreviousRuns
The maximum number of previous runs that is stored in memory.

Public Properties

  Name Description
Public property ConfigurationXml
Gets a string containing the xml definition of this scheduled job.
Public property CurrentRun
Gets the current run. Returns null if no job is currently running.
Public property DefaultParameters
Gets the default parameters specified for this job.
Public property IsEnabled
Returns true if the scheduled job is enabled.
Public property IsRunning
Returns true if the job is currently running, false otherwise.
Public property Name
Gets the name of the scheduled job.
Public property PreviousRuns
Gets the list of previous runs.
Public property Schedules
Gets the list of schedules.
Public property Type
Gets the .Net type that performs the job.
Public property UserName
Gets the user that is used to run this job.

Protected Properties

  Name Description
Protected property PreviousRunsWritable
Gets a writable list of previous runs.

Public Events

  Name Description
Public event Started
Fired when a scheduled job has started.
Public event Stopped
Fires when a scheduled job has stopped.

See Also

Advanced