I want to run a job via the api. code is as below. Error is 'No overload for method 'Run' takes '1' arguments' however there appear to be 2 methods in the doc bit taking one argument.
Jobs jobs = server.Jobs;
JobClass jobToRun = null;
foreach (JobClass job in jobs.GetAll())
{
  if (group == job.Group && jobName == job.Name)
  {
    jobToRun = job;
    break;
  }
}
if (jobToRun == null)
  throw new Exception(String.Format("Could not find job {0}/{1}", group, jobName));
jobs.Run(jobToRun);