mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-23 01:25:42 -05:00
Agent Proxy and Credential request handlers (#637)
* Agent Proxy account WIP * Fixup Credential create\update\delete handlers * Use current user for test credential * Cleanup and delete code * Convert tabs to spaces
This commit is contained in:
@@ -4341,6 +4341,38 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string UnexpectedRunType
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.UnexpectedRunType);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CredentialNoLongerExists
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CredentialNoLongerExists);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TargetServerNotSelected
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TargetServerNotSelected);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SysadminAccount
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.SysadminAccount);
|
||||
}
|
||||
}
|
||||
|
||||
public static string JobStepNameCannotBeBlank
|
||||
{
|
||||
get
|
||||
@@ -4656,6 +4688,26 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.OperatorProperties, operatorName);
|
||||
}
|
||||
|
||||
public static string UnknownSizeUnit(string unit)
|
||||
{
|
||||
return Keys.GetString(Keys.UnknownSizeUnit, unit);
|
||||
}
|
||||
|
||||
public static string UnknownServerType(string serverTypeName)
|
||||
{
|
||||
return Keys.GetString(Keys.UnknownServerType, serverTypeName);
|
||||
}
|
||||
|
||||
public static string SetOwnerFailed(string ownerName)
|
||||
{
|
||||
return Keys.GetString(Keys.SetOwnerFailed, ownerName);
|
||||
}
|
||||
|
||||
public static string ProxyAccountNotFound(string proxyName)
|
||||
{
|
||||
return Keys.GetString(Keys.ProxyAccountNotFound, proxyName);
|
||||
}
|
||||
|
||||
public static string JobAlreadyExists(string jobName)
|
||||
{
|
||||
return Keys.GetString(Keys.JobAlreadyExists, jobName);
|
||||
@@ -6437,6 +6489,30 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string CategoryDataCollector = "CategoryDataCollector";
|
||||
|
||||
|
||||
public const string UnknownSizeUnit = "UnknownSizeUnit";
|
||||
|
||||
|
||||
public const string UnexpectedRunType = "UnexpectedRunType";
|
||||
|
||||
|
||||
public const string CredentialNoLongerExists = "CredentialNoLongerExists";
|
||||
|
||||
|
||||
public const string UnknownServerType = "UnknownServerType";
|
||||
|
||||
|
||||
public const string SetOwnerFailed = "SetOwnerFailed";
|
||||
|
||||
|
||||
public const string TargetServerNotSelected = "TargetServerNotSelected";
|
||||
|
||||
|
||||
public const string ProxyAccountNotFound = "ProxyAccountNotFound";
|
||||
|
||||
|
||||
public const string SysadminAccount = "SysadminAccount";
|
||||
|
||||
|
||||
public const string JobAlreadyExists = "JobAlreadyExists";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user