UpdateProcessSchedule() public method

public UpdateProcessSchedule ( long scheduleProcessID, string scheduleVersion, System.DateTime lastInstantiated, System.DateTime nextScheduled, string repeatSchedule, string instantiatedUsers ) : bool
scheduleProcessID long
scheduleVersion string
lastInstantiated System.DateTime
nextScheduled System.DateTime
repeatSchedule string
instantiatedUsers string
return bool
Beispiel #1
0
 public bool UpdateProcessScheduleByProcessID(string ProcessID, string scheduleVersion, string nextScheduled, string repeatSchedule, string instantiatedUsers)
 {
     bool success = false;
     long AtulProcessID = Convert.ToInt64(ProcessID);
     DateTime NextScheduledDate = DateTime.Parse(nextScheduled);
     AtulBusinessLogic adb = new AtulBusinessLogic();
     Schedule s = adb.GetProcessScheduleByProcessID(AtulProcessID);
     success = adb.UpdateProcessSchedule(s.AtulProcessScheduleID, scheduleVersion, s.LastInstantiated, NextScheduledDate, repeatSchedule, instantiatedUsers);
     return success;
 }