Esempio n. 1
0
        public IEnumerable <BackupSetInfo> GetBackupSetInfo()
        {
            List <BackupSetInfo> result = new List <BackupSetInfo>();

            foreach (Restore restore in RestorePlan.RestoreOperations)
            {
                BackupSetInfo backupSetInfo = BackupSetInfo.Create(restore, Server);
                result.Add(backupSetInfo);
            }

            return(result);
        }
        public IEnumerable <BackupSetInfo> GetBackupSetInfo()
        {
            List <BackupSetInfo> result = new List <BackupSetInfo>();

            foreach (Restore restore in RestorePlan.RestoreOperations)
            {
                BackupSetInfo backupSetInfo = BackupSetInfo.Create(restore, Server);
                if (this.backupSetsFilterInfo.IsBackupSetSelected(restore.BackupSet))
                {
                }
                result.Add(backupSetInfo);
            }

            return(result);
        }