diff --git a/src/sql/workbench/common/actions.ts b/src/sql/workbench/common/actions.ts index b5ef0de8cb..a1a9cafe0c 100644 --- a/src/sql/workbench/common/actions.ts +++ b/src/sql/workbench/common/actions.ts @@ -148,10 +148,6 @@ export class RestoreAction extends Task { if (serverInfo && serverInfo.isCloud && profile.providerName === mssqlProviderName) { return accessor.get(INotificationService).info(nls.localize('restore.commandNotSupported', "Restore command is not supported for Azure SQL databases.")); } - - if (!profile.databaseName && profile.providerName === mssqlProviderName) { - return accessor.get(INotificationService).info(nls.localize('restore.commandNotSupportedForServer', "Restore command is not supported in Server Context. Please select a Database and try again.")); - } } TaskUtilities.showRestore(