C# Class GSoft.Dynamite.TimerJobs.TimerJobExpert

The timer job expert.
Inheritance: ITimerJobExpert
Show file Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method Description
CreateJob ( SPSite site, System.Guid workItemType ) : System.Guid

The create job.

StartJob ( SPSite site, string jobName ) : System.Guid

The start job.

WaitForJob ( SPSite site, System.Guid jobId, System.DateTime startDate ) : void

The wait for job.

Method Details

CreateJob() public method

The create job.
public CreateJob ( SPSite site, System.Guid workItemType ) : System.Guid
site SPSite /// The site. ///
workItemType System.Guid /// The work item type. ///
return System.Guid

StartJob() public method

The start job.
/// If jobName is not found, exception is thrown ///
public StartJob ( SPSite site, string jobName ) : System.Guid
site SPSite /// The site. ///
jobName string /// The job name. ///
return System.Guid

WaitForJob() public method

The wait for job.
public WaitForJob ( SPSite site, System.Guid jobId, System.DateTime startDate ) : void
site SPSite /// The site. ///
jobId System.Guid /// The job id. ///
startDate System.DateTime /// The start date. ///
return void