mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 01:25:40 -05:00
Close connection after backup execution (#449)
This commit is contained in:
@@ -46,6 +46,11 @@ namespace Microsoft.SqlTools.ServiceLayer.TaskServices
|
||||
/// </summary>
|
||||
public ITaskOperation TaskOperation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Connection uri
|
||||
/// </summary>
|
||||
public string OwnerUri { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates task metadata given the request parameters
|
||||
/// </summary>
|
||||
@@ -84,6 +89,8 @@ namespace Microsoft.SqlTools.ServiceLayer.TaskServices
|
||||
taskMetadata.TaskExecutionMode = scriptableRequestParams.TaskExecutionMode;
|
||||
|
||||
taskMetadata.TaskOperation = taskOperation;
|
||||
taskMetadata.OwnerUri = requestParam.OwnerUri;
|
||||
|
||||
return taskMetadata;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user