public List <ManifestEntry> ListBackupEntries(Schedule schedule) { ListBackupEntriesTask task = new ListBackupEntriesTask(schedule); ExecuteTask(task); if (task.IsAborted) { return(null); } if (task.Result.StartsWith("Error:")) { throw new Exception(task.Result); } return(task.Backups); }
public List<ManifestEntry> ListBackupEntries(Schedule schedule) { ListBackupEntriesTask task = new ListBackupEntriesTask(schedule); ExecuteTask(task); if (task.IsAborted) return null; if (task.Result.StartsWith("Error:")) throw new Exception(task.Result); return task.Backups; }