mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-05 01:25:45 -05:00
integrate backup operation with new scriptable task (#440)
* integrate backup operation with new scriptable task
This commit is contained in:
@@ -67,11 +67,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TaskServices
|
||||
taskMetadata.ServerName = connInfo.ConnectionDetails.ServerName;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(requestParam.DatabaseName))
|
||||
{
|
||||
taskMetadata.DatabaseName = requestParam.DatabaseName;
|
||||
}
|
||||
else if (connInfo != null)
|
||||
if (connInfo != null)
|
||||
{
|
||||
taskMetadata.DatabaseName = connInfo.ConnectionDetails.DatabaseName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user