mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-24 17:24:14 -05:00
XEvent Profiler initial event handlers (#456)
* Bump SMO to 140.2.5 to pick-up private XEvent binaries * Pick up SMO binaries from the build lab * Add ProfilerService class placeholder * Update SMO nuget package to include DB Scoped XEvents * Stage changes * Stage changes * Update SMO to use RTM dependencies and remove separate SqlScript package * Stage changes * Iterate on profiler service * Fix post-merge break in localization * More refactoring * Continue iterating on profiler * Add test profiler listener * Address a couple of the code review feedback * Fix AppVeyor build break * Use self-cleaning test file
This commit is contained in:
@@ -3517,6 +3517,14 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string ProfilerConnectionNotFound
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.ProfilerConnectionNotFound);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -4945,6 +4953,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string InvalidPathError = "InvalidPathError";
|
||||
|
||||
|
||||
public const string ProfilerConnectionNotFound = "ProfilerConnectionNotFound";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -1931,4 +1931,8 @@
|
||||
<value>Cannot access the specified path on the server: {0}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ProfilerConnectionNotFound" xml:space="preserve">
|
||||
<value>Connection not found</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -848,4 +848,8 @@ ScriptTaskName = scripting
|
||||
|
||||
############################################################################
|
||||
# File Browser Validation Errors
|
||||
InvalidPathError = Cannot access the specified path on the server: {0}
|
||||
InvalidPathError = Cannot access the specified path on the server: {0}
|
||||
|
||||
############################################################################
|
||||
# Profiler
|
||||
ProfilerConnectionNotFound = Connection not found
|
||||
|
||||
@@ -2250,6 +2250,11 @@
|
||||
<target state="new">scripting</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ProfilerConnectionNotFound">
|
||||
<source>Connection not found</source>
|
||||
<target state="new">Connection not found</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BackupPathIsFolderError">
|
||||
<source>The provided path specifies a directory but a file path is required: {0}</source>
|
||||
<target state="new">The file name specified is also a directory name: {0}</target>
|
||||
|
||||
Reference in New Issue
Block a user