Add support for target location in tasks (#10179)

* Add support for target location in tasks

* bump sqltoolsservice to get addition of targetLocation to TaskNode
This commit is contained in:
Kim Santiago
2020-04-28 15:35:40 -07:00
committed by GitHub
parent 4ec281313f
commit 11f6790630
5 changed files with 23 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ export class TaskService implements ITaskService {
serverName = connectionProfile.serverName;
}
}
let node: TaskNode = new TaskNode(taskInfo.name, serverName, databaseName, taskInfo.taskId, taskInfo.taskExecutionMode, taskInfo.isCancelable);
let node: TaskNode = new TaskNode(taskInfo.name, serverName, databaseName, taskInfo.taskId, taskInfo.taskExecutionMode, taskInfo.isCancelable, taskInfo.targetLocation);
node.providerName = taskInfo.providerName;
this.handleNewTask(node);
}