示例#1
0
        public string[] ListBackups(Schedule schedule)
        {
            ListBackupsTask task = new ListBackupsTask(schedule);

            ExecuteTask(task);
            return(task.Backups);
        }
示例#2
0
        public string[] ListBackups(Schedule schedule)
        {
            ListBackupsTask task = new ListBackupsTask(schedule);

            ExecuteTask(task);

            if (task.IsAborted)
            {
                return(null);
            }

            return(task.Backups);
        }
示例#3
0
        public string[] ListBackups(Schedule schedule)
        {
            ListBackupsTask task = new ListBackupsTask(schedule);
            ExecuteTask(task);

            if (task.IsAborted)
                return null;

            return task.Backups;
        }
示例#4
0
 public string[] ListBackups(Schedule schedule)
 {
     ListBackupsTask task = new ListBackupsTask(schedule);
     ExecuteTask(task);
     return task.Backups;
 }