Support profiling on Azure instances (#643)

* Support profiling Azure instances

* Spacing fixes

* Localizing error message for azure DB profiling
This commit is contained in:
Madeline MacDonald
2018-06-26 10:55:30 -07:00
committed by GitHub
parent 838a7e4fab
commit cc2ca4cad3
6 changed files with 73 additions and 7 deletions

View File

@@ -3661,6 +3661,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string AzureSystemDbProfilingError
{
get
{
return Keys.GetString(Keys.AzureSystemDbProfilingError);
}
}
public static string UserCancelledSelectStep
{
get
@@ -6147,6 +6155,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string ProfilerConnectionNotFound = "ProfilerConnectionNotFound";
public const string AzureSystemDbProfilingError = "AzureSystemDbProfilingError";
public const string EnableAlertsTitle = "EnableAlertsTitle";

View File

@@ -2023,6 +2023,10 @@
<value>Connection not found</value>
<comment></comment>
</data>
<data name="AzureSystemDbProfilingError" xml:space="preserve">
<value>Cannot profile Azure system databases</value>
<comment></comment>
</data>
<data name="EnableAlertsTitle" xml:space="preserve">
<value>Enable Alerts - {0}</value>
<comment>.

View File

@@ -887,6 +887,7 @@ InvalidPathError = Cannot access the specified path on the server: {0}
############################################################################
# Profiler
ProfilerConnectionNotFound = Connection not found
AzureSystemDbProfilingError = Cannot profile Azure system databases
#############################################################################
# SQL Agent

View File

@@ -2256,6 +2256,11 @@
<target state="new">Connection not found</target>
<note></note>
</trans-unit>
<trans-unit id="AzureSystemDbProfilingError">
<source>Cannot profile Azure system databases</source>
<target state="new">Cannot profile Azure system databases</target>
<note></note>
</trans-unit>
<trans-unit id="BackupPathIsFolderError">
<source>Please provide a file path instead of directory path</source>
<target state="new">Please provide a file path instead of directory path</target>