예제 #1
0
 public string StartBackupFiles(string appId, string hostId, string dir, int numBackups, BackupMethodType method)
 {
     var param = new RunBackupType
         {
             applicationID = appId,
             hostID = hostId,
             numBackups = numBackups,
             numBackupsSpecified = true,
             backupMethod = method,
             backupMethodSpecified = true,
             dirName = dir
         };
     return utilSvc.startBackup(param);
 }
예제 #2
0
        public string StartBackupFiles(string appId, string hostId, string dir, int numBackups, BackupMethodType method)
        {
            var param = new RunBackupType
            {
                applicationID         = appId,
                hostID                = hostId,
                numBackups            = numBackups,
                numBackupsSpecified   = true,
                backupMethod          = method,
                backupMethodSpecified = true,
                dirName               = dir
            };

            return(utilSvc.startBackup(param));
        }