mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
Agent - edit owner changes (#791)
* dont send logins any more * removed mistakenly added script
This commit is contained in:
@@ -428,17 +428,6 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
var logins = dataContainer.Server.Logins;
|
|
||||||
result.Logins = new AgentJobLogin[logins.Count];
|
|
||||||
for (int i = 0; i < logins.Count; i++)
|
|
||||||
{
|
|
||||||
result.Logins[i] = new AgentJobLogin
|
|
||||||
{
|
|
||||||
Id = logins[i].ID,
|
|
||||||
Name = logins[i].Name
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
result.Success = true;
|
result.Success = true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@@ -222,8 +222,6 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent.Contracts
|
|||||||
public string Owner { get; set; }
|
public string Owner { get; set; }
|
||||||
|
|
||||||
public AgentJobCategory[] Categories { get; set; }
|
public AgentJobCategory[] Categories { get; set; }
|
||||||
|
|
||||||
public AgentJobLogin[] Logins { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user