mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-21 01:25:42 -05:00
* fixing the order of setting backup properties so that they are correctly propogated to actual action * Adding a backup type specific test and enabling 'few' old ones which seem to work consistentenly * Adding finally block, close connection and name change as per PR comments
This commit is contained in:
@@ -172,11 +172,12 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
/// </summary>
|
||||
public override void Execute()
|
||||
{
|
||||
// set the operation properties before using them to create backup obejct
|
||||
this.SetBackupProps();
|
||||
this.backup = new Backup();
|
||||
this.backup.Database = this.backupInfo.DatabaseName;
|
||||
this.backup.Action = this.backupActionType;
|
||||
this.backup.Incremental = this.isBackupIncremental;
|
||||
this.SetBackupProps();
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user