// Token: 0x06000354 RID: 852 RVA: 0x00014960 File Offset: 0x00012B60
 protected void RemoveJob(Guid jobId)
 {
     try
     {
         using (IJobSchedulerHelper instance = JobScheduler.GetInstance())
         {
             JobSchedulerEventsService.log.DebugFormat("Removing job {0}", jobId);
             instance.RemoveJob(jobId);
         }
     }
     catch (Exception ex)
     {
         JobSchedulerEventsService.log.ErrorFormat("Error removing job {0}.  Exception: {1}", jobId, ex.ToString());
     }
 }
        // Token: 0x06000322 RID: 802 RVA: 0x00013DD8 File Offset: 0x00011FD8
        public static bool DeleteJob(Guid jobId)
        {
            bool result;

            using (IJobSchedulerHelper instance = JobScheduler.GetInstance())
            {
                try
                {
                    instance.RemoveJob(jobId);
                    result = true;
                }
                catch
                {
                    DiscoveryJobFactory.log.DebugFormat("Unable to delete job in Job Engine({0}", jobId);
                    result = false;
                }
            }
            return(result);
        }