Fixed update agent step (#748)

* fixed update step

* fix new step from edit job

* allowed to reorder steps in edit job
This commit is contained in:
Aditya Bist
2018-11-29 10:47:57 -08:00
committed by GitHub
parent 87e8eb9ef6
commit 2f1097028f
2 changed files with 24 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent
// load properties from AgentJobStepInfo
this.data.ID = stepInfo.Id;
this.data.Name = stepInfo.StepName;
this.data.Command = stepInfo.Script;
this.data.Command = stepInfo.Command;
}
protected override bool DoPreProcessExecution(RunType runType, out ExecutionMode executionResult)