mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-27 17:24:26 -05:00
@@ -12,7 +12,7 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
internal const string KeepReplication = "keepReplication";
|
||||
internal const string ReplaceDatabase = "replaceDatabase";
|
||||
internal const string SetRestrictedUser = "setRestrictedUser";
|
||||
internal const string RecoveryState = "eecoveryState";
|
||||
internal const string RecoveryState = "recoveryState";
|
||||
internal const string BackupTailLog = "backupTailLog";
|
||||
internal const string DefaultBackupTailLog = "defaultBackupTailLog";
|
||||
internal const string TailLogBackupFile = "tailLogBackupFile";
|
||||
@@ -48,7 +48,8 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
Description = "Preserve the replication settings (WITH KEEP_REPLICATION)",
|
||||
ValueType = ServiceOption.ValueTypeBoolean,
|
||||
IsRequired = false,
|
||||
GroupName = "Restore options"
|
||||
GroupName = "Restore options",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new ServiceOption
|
||||
{
|
||||
@@ -57,7 +58,8 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
Description = "Overwrite the existing database (WITH REPLACE)",
|
||||
ValueType = ServiceOption.ValueTypeBoolean,
|
||||
IsRequired = false,
|
||||
GroupName = "Restore options"
|
||||
GroupName = "Restore options",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new ServiceOption
|
||||
{
|
||||
@@ -66,7 +68,8 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
Description = "Restrict access to the restored database (WITH RESTRICTED_USER)",
|
||||
ValueType = ServiceOption.ValueTypeBoolean,
|
||||
IsRequired = false,
|
||||
GroupName = "Restore options"
|
||||
GroupName = "Restore options",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new ServiceOption
|
||||
{
|
||||
@@ -93,7 +96,8 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
Name = "WithStandBy",
|
||||
DisplayName = "RESTORE WITH STANDBY"
|
||||
}
|
||||
}
|
||||
},
|
||||
DefaultValue = "WithRecovery"
|
||||
},
|
||||
new ServiceOption
|
||||
{
|
||||
@@ -158,7 +162,8 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery
|
||||
Description = "Relocate all files",
|
||||
ValueType = ServiceOption.ValueTypeBoolean,
|
||||
IsRequired = false,
|
||||
GroupName = "Restore database files as"
|
||||
GroupName = "Restore database files as",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new ServiceOption
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user