protected void ReportOutCome()
 {
     //	Add a JobHistory Entry for this JobStep
     m_db.AddJobHistory(m_taskStep.JobId, m_taskStep.StepId, m_taskStep.Name, OutCome, OutComeMessage, this.Started, this.Duration);
     //	Update Activity
     m_db.SetActivityLastStepDetails(m_taskStep.JobId, m_taskStep.StepId, this.Started.Value, this.Duration.Value);
 }
Beispiel #2
0
 private void ReportOutcome()
 {
     if (m_jobSchedule != null)
     {
         //	Record the Last Run Details to the JobSchedule object
         m_db.UpdateJobScheduleLastRun(m_job.Id, m_jobSchedule.Schedule.Id, this.CompletedDateTime.Value);
     }
     //	Add a Job History Entry
     m_db.AddJobHistory(m_job.Id, 0, "(Job OutCome)", this.OutCome, this.GetOutComeMessage(), this.CompletedDateTime.Value, this.Duration.Value);
 }