Add error codes for password change (reopened) (#1784)

* added error code handling

* Small cleanup

* added changes
This commit is contained in:
Alex Ma
2022-12-13 13:04:40 -08:00
committed by GitHub
parent cc94a1a4c6
commit 548229d547
5 changed files with 19 additions and 51 deletions

View File

@@ -77,14 +77,6 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string PasswordChangeDNMReqs
{
get
{
return Keys.GetString(Keys.PasswordChangeDNMReqs);
}
}
public static string PasswordChangeDNMReqsRetry
{
get
@@ -93,14 +85,6 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string PasswordChangePWCannotBeUsed
{
get
{
return Keys.GetString(Keys.PasswordChangePWCannotBeUsed);
}
}
public static string PasswordChangePWCannotBeUsedRetry
{
get
@@ -10136,15 +10120,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string PasswordChangeEmptyPasswordRetry = "PasswordChangeEmptyPasswordRetry";
public const string PasswordChangeDNMReqs = "PasswordChangeDNMReqs";
public const string PasswordChangeDNMReqsRetry = "PasswordChangeDNMReqsRetry";
public const string PasswordChangePWCannotBeUsed = "PasswordChangePWCannotBeUsed";
public const string PasswordChangePWCannotBeUsedRetry = "PasswordChangePWCannotBeUsedRetry";