diff --git a/sqltoolsservice.sln b/sqltoolsservice.sln
index 9bf2c8dc..d26ead16 100644
--- a/sqltoolsservice.sln
+++ b/sqltoolsservice.sln
@@ -61,6 +61,9 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting.Contracts", "src\Microsoft.SqlTools.Hosting.Contracts\Microsoft.SqlTools.Hosting.Contracts.csproj", "{BE04C532-C9AE-4C32-9283-F6629112228B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ServiceLayer", "src\Microsoft.SqlTools.ServiceLayer\Microsoft.SqlTools.ServiceLayer.csproj", "{835EDEB4-289B-4D6D-A9A0-609E43A87D6E}"
+ ProjectSection(ProjectDependencies) = postProject
+ {3F82F298-700A-48DF-8A69-D048DFBA782C} = {3F82F298-700A-48DF-8A69-D048DFBA782C}
+ EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting.UnitTests", "test\Microsoft.SqlTools.Hosting.UnitTests\Microsoft.SqlTools.Hosting.UnitTests.csproj", "{BA3C9622-ABFF-45A2-91AA-CC5189083256}"
EndProject
@@ -90,6 +93,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting.
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TVFSample", "test\TVFSample\TVFSample.csproj", "{1FC10261-EC0D-416A-9B66-C55F0A34968C}"
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ManagedBatchParser", "src\Microsoft.SqlTools.ManagedBatchParser\Microsoft.SqlTools.ManagedBatchParser.csproj", "{3F82F298-700A-48DF-8A69-D048DFBA782C}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -217,6 +222,12 @@ Global
{1FC10261-EC0D-416A-9B66-C55F0A34968C}.Integration|Any CPU.Build.0 = Release|Any CPU
{1FC10261-EC0D-416A-9B66-C55F0A34968C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1FC10261-EC0D-416A-9B66-C55F0A34968C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3F82F298-700A-48DF-8A69-D048DFBA782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3F82F298-700A-48DF-8A69-D048DFBA782C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3F82F298-700A-48DF-8A69-D048DFBA782C}.Integration|Any CPU.ActiveCfg = Debug|Any CPU
+ {3F82F298-700A-48DF-8A69-D048DFBA782C}.Integration|Any CPU.Build.0 = Debug|Any CPU
+ {3F82F298-700A-48DF-8A69-D048DFBA782C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3F82F298-700A-48DF-8A69-D048DFBA782C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -244,6 +255,7 @@ Global
{8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4}
{EF02F89F-417E-4A40-B7E6-B102EE2DF24D} = {2BBD7364-054F-4693-97CD-1C395E3E84A9}
{1FC10261-EC0D-416A-9B66-C55F0A34968C} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4}
+ {3F82F298-700A-48DF-8A69-D048DFBA782C} = {2BBD7364-054F-4693-97CD-1C395E3E84A9}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B31CDF4B-2851-45E5-8C5F-BE97125D9DD8}
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserAction.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserAction.cs
similarity index 88%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserAction.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserAction.cs
index 4ec4b996..ea3fbabb 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserAction.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserAction.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal enum BatchParserAction
+ public enum BatchParserAction
{
Continue = 0,
Abort = 1
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserException.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserException.cs
similarity index 95%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserException.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserException.cs
index 6b4e6149..ccff7261 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserException.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserException.cs
@@ -7,7 +7,7 @@ using System;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal sealed class BatchParserException : Exception
+ public sealed class BatchParserException : Exception
{
const string ErrorCodeName = "ErrorCode";
const string BeginName = "Begin";
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserWrapper.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserWrapper.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserWrapper.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserWrapper.cs
index 48fd228d..7185b8b9 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserWrapper.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserWrapper.cs
@@ -10,6 +10,7 @@ using System.IO;
using Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode;
using System.Globalization;
using System.Diagnostics;
+using Microsoft.SqlTools.ManagedBatchParser;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserWrapperException.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserWrapperException.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/BatchParserWrapperException.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/BatchParserWrapperException.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ErrorCode.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ErrorCode.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ErrorCode.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ErrorCode.cs
index a85d1478..ac735a31 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ErrorCode.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ErrorCode.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal enum ErrorCode
+ public enum ErrorCode
{
ErrorCodeBase = 0,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/Batch.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/Batch.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/Batch.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/Batch.cs
index 9e4e5532..a2d6a410 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/Batch.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/Batch.cs
@@ -11,13 +11,14 @@ using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection;
using Microsoft.SqlTools.Utility;
+using Microsoft.SqlTools.ManagedBatchParser;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
///
/// Single batch of SQL command
///
- internal class Batch
+ public class Batch
{
#region Private methods
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchDefinition.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchDefinition.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchDefinition.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchDefinition.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchErrorEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchErrorEventArgs.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchErrorEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchErrorEventArgs.cs
index d423fb16..5bff029e 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchErrorEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchErrorEventArgs.cs
@@ -5,13 +5,14 @@
using System;
using System.Data.SqlClient;
+using Microsoft.SqlTools.ManagedBatchParser;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
///
/// Error totalAffectedRows for a Batch
///
- internal class BatchErrorEventArgs : EventArgs
+ public class BatchErrorEventArgs : EventArgs
{
#region Private Fields
private string message = string.Empty;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchMessageEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchMessageEventArgs.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchMessageEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchMessageEventArgs.cs
index 3ec42f35..ef1cddd3 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchMessageEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchMessageEventArgs.cs
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Event args for notification about non-error message
///
- internal class BatchMessageEventArgs : EventArgs
+ public class BatchMessageEventArgs : EventArgs
{
private readonly string message = string.Empty;
private readonly string detailedMessage = string.Empty;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParser.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParser.cs
similarity index 98%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParser.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParser.cs
index 62fd22e1..ced5d5c5 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParser.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParser.cs
@@ -10,7 +10,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Class that parses queries into batches
///
- internal class BatchParser :
+ public class BatchParser :
ICommandHandler,
IVariableResolver
{
@@ -153,7 +153,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
throw new NotImplementedException("The method or operation is not implemented.");
}
- internal void DisableVariableSubstitution()
+ public void DisableVariableSubstitution()
{
variableSubstitutionDisabled = true;
}
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionErrorEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionErrorEventArgs.cs
similarity index 92%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionErrorEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionErrorEventArgs.cs
index 05961304..7da183c8 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionErrorEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionErrorEventArgs.cs
@@ -8,7 +8,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Class associated with batch parser execution errors
///
- internal class BatchParserExecutionErrorEventArgs : BatchErrorEventArgs
+ public class BatchParserExecutionErrorEventArgs : BatchErrorEventArgs
{
private readonly ScriptMessageType messageType;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionFinishedEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionFinishedEventArgs.cs
similarity index 94%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionFinishedEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionFinishedEventArgs.cs
index 08f0b2fa..e6e2cc4c 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionFinishedEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionFinishedEventArgs.cs
@@ -10,7 +10,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Class associated with batch parser execution finished event
///
- internal class BatchParserExecutionFinishedEventArgs : EventArgs
+ public class BatchParserExecutionFinishedEventArgs : EventArgs
{
private readonly Batch batch = null;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionStartEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionStartEventArgs.cs
similarity index 94%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionStartEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionStartEventArgs.cs
index d3d90fc9..e195cdcd 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserExecutionStartEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserExecutionStartEventArgs.cs
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Class associated with batch parser execution start event
///
- internal class BatchParserExecutionStartEventArgs : EventArgs
+ public class BatchParserExecutionStartEventArgs : EventArgs
{
private readonly Batch batch = null;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserSqlCmd.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserSqlCmd.cs
similarity index 95%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserSqlCmd.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserSqlCmd.cs
index 721beba9..33b90cad 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchParserSqlCmd.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchParserSqlCmd.cs
@@ -8,13 +8,14 @@ using System.Collections.Generic;
using System.Data.SqlClient;
using System.Globalization;
using System.IO;
+using Microsoft.SqlTools.ManagedBatchParser;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
///
/// Class for handling SQL CMD by Batch Parser
///
- internal class BatchParserSqlCmd : BatchParser
+ public class BatchParserSqlCmd : BatchParser
{
///
/// The internal variables that can be used in SqlCommand substitution.
@@ -36,14 +37,14 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
// nothing
}
-
- internal ConnectionChangedDelegate ConnectionChanged
+
+ public ConnectionChangedDelegate ConnectionChanged
{
get { return connectionChangedDelegate; }
set { connectionChangedDelegate = value; }
}
- internal ErrorActionChangedDelegate ErrorActionChanged
+ public ErrorActionChangedDelegate ErrorActionChanged
{
get { return errorActionChangedDelegate; }
set { errorActionChangedDelegate = value; }
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchResultSetEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchResultSetEventArgs.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchResultSetEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchResultSetEventArgs.cs
index 0b80cf0d..ffc24c79 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/BatchResultSetEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/BatchResultSetEventArgs.cs
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Class associated with setting batch results
///
- internal class BatchResultSetEventArgs : EventArgs
+ public class BatchResultSetEventArgs : EventArgs
{
private readonly IDataReader dataReader = null;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionEngine.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionEngine.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionEngine.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionEngine.cs
index 8aaefdfb..b4d41299 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionEngine.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionEngine.cs
@@ -12,6 +12,7 @@ using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Text;
+using Microsoft.SqlTools.ManagedBatchParser;
using Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection;
using Microsoft.SqlTools.Utility;
@@ -20,7 +21,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
///
/// Execution engine class which executed the parsed batches
///
- internal class ExecutionEngine : IDisposable
+ public class ExecutionEngine : IDisposable
{
#region Private fields
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionEngineConditions.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionEngineConditions.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionEngineConditions.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionEngineConditions.cs
index 243f0a53..b64667ed 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionEngineConditions.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionEngineConditions.cs
@@ -8,7 +8,7 @@ using Microsoft.SqlTools.Utility;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
- internal class ExecutionEngineConditions
+ public class ExecutionEngineConditions
{
#region Private fields
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionState.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionState.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionState.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ExecutionState.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/IBatchEventsHandler.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/IBatchEventsHandler.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/IBatchEventsHandler.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/IBatchEventsHandler.cs
index 4cc727f8..e0bbaab0 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/IBatchEventsHandler.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/IBatchEventsHandler.cs
@@ -7,7 +7,7 @@ using System;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
- internal interface IBatchEventsHandler
+ public interface IBatchEventsHandler
{
///
/// fired when there is an error message from the server
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionArgs.cs
similarity index 98%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionArgs.cs
index 29349529..5fabed81 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionArgs.cs
@@ -10,7 +10,7 @@ using System.Data.SqlClient;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
- internal class ScriptExecutionArgs : EventArgs
+ public class ScriptExecutionArgs : EventArgs
{
private IDbConnection connection;
private IBatchEventsHandler batchEventHandlers;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionFinishedEventArgs.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionFinishedEventArgs.cs
similarity index 90%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionFinishedEventArgs.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionFinishedEventArgs.cs
index 855b8365..6dca2bb8 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionFinishedEventArgs.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionFinishedEventArgs.cs
@@ -7,7 +7,7 @@ using System;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
- internal class ScriptExecutionFinishedEventArgs : EventArgs
+ public class ScriptExecutionFinishedEventArgs : EventArgs
{
internal ScriptExecutionFinishedEventArgs(ScriptExecutionResult result)
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionResult.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionResult.cs
similarity index 90%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionResult.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionResult.cs
index 5c48dec6..efbe8367 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptExecutionResult.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptExecutionResult.cs
@@ -8,7 +8,7 @@ using System;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
[Flags]
- internal enum ScriptExecutionResult
+ public enum ScriptExecutionResult
{
Success = 0x1,
Failure = 0x2,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptMessageType.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptMessageType.cs
similarity index 89%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptMessageType.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptMessageType.cs
index d9774e61..4f265f94 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ScriptMessageType.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ScriptMessageType.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
- internal enum ScriptMessageType
+ public enum ScriptMessageType
{
FatalError,
Error,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ShowPlanType.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ShowPlanType.cs
similarity index 95%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ShowPlanType.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ShowPlanType.cs
index 01acfd98..9ee08e98 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ShowPlanType.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/ShowPlanType.cs
@@ -6,7 +6,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
[System.Flags]
- internal enum ShowPlanType
+ public enum ShowPlanType
{
None = 0x0,
ActualExecutionShowPlan = 0x1,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/TextSpan.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/TextSpan.cs
similarity index 93%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/TextSpan.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/TextSpan.cs
index 24fd35e5..70034f90 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/TextSpan.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ExecutionEngineCode/TextSpan.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
- internal struct TextSpan
+ public struct TextSpan
{
public int iEndIndex;
public int iEndLine;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ICommandHandler.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ICommandHandler.cs
similarity index 92%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/ICommandHandler.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ICommandHandler.cs
index 02117f9a..ac874e40 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/ICommandHandler.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ICommandHandler.cs
@@ -7,7 +7,7 @@ using System.IO;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal interface ICommandHandler
+ public interface ICommandHandler
{
BatchParserAction Go(TextBlock batch, int repeatCount);
BatchParserAction OnError(Token token, OnErrorAction action);
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/IVariableResolver.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/IVariableResolver.cs
similarity index 89%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/IVariableResolver.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/IVariableResolver.cs
index 8573b55f..3ee29cc4 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/IVariableResolver.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/IVariableResolver.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal interface IVariableResolver
+ public interface IVariableResolver
{
string GetVariable(PositionStruct pos, string name);
void SetVariable(PositionStruct pos, string name, string value);
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/Lexer.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Lexer.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/Lexer.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Lexer.cs
index adc826a8..c0b4285e 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/Lexer.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Lexer.cs
@@ -8,13 +8,14 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
+using Microsoft.SqlTools.ManagedBatchParser;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
///
/// Lexer class for the SMO Batch Parser
///
- internal sealed class Lexer : IDisposable
+ public sealed class Lexer : IDisposable
{
private LexerInput currentInput;
private bool popInputAtNextConsume;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/LexerInput.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LexerInput.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/LexerInput.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LexerInput.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/LexerTokenType.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LexerTokenType.cs
similarity index 95%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/LexerTokenType.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LexerTokenType.cs
index 77e68dff..8050fea0 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/LexerTokenType.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LexerTokenType.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal enum LexerTokenType
+ public enum LexerTokenType
{
None,
Text,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/LineInfo.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LineInfo.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/LineInfo.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LineInfo.cs
index 33984d0c..e2e0b5dd 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/LineInfo.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/LineInfo.cs
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser
/// This class gives information about lines being parsed by
/// the Batch Parser
///
- class LineInfo
+ public class LineInfo
{
private IEnumerable tokens;
private IEnumerable variableRefs;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/OnErrorAction.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/OnErrorAction.cs
similarity index 89%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/OnErrorAction.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/OnErrorAction.cs
index 39d1f6a6..2e2247fb 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/OnErrorAction.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/OnErrorAction.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal enum OnErrorAction
+ public enum OnErrorAction
{
Ignore = 0,
Exit = 1,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/Parser.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/Parser.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs
index 16f00e58..f3e09dc9 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/Parser.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Parser.cs
@@ -10,13 +10,14 @@ using System.Globalization;
using System.IO;
using System.Security;
using System.Text;
+using Microsoft.SqlTools.ManagedBatchParser;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
///
/// The Parser class on which the Batch Parser is based on
///
- internal sealed class Parser : IDisposable
+ public sealed class Parser : IDisposable
{
private readonly ICommandHandler commandHandler;
private Lexer lexer;
@@ -224,7 +225,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser
return false;
}
- internal void Parse()
+ public void Parse()
{
Accept();
ParseLines();
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/PositionStruct.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/PositionStruct.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/PositionStruct.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/PositionStruct.cs
index 8f2758f6..25654eea 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/PositionStruct.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/PositionStruct.cs
@@ -8,7 +8,7 @@ using System;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
[Serializable]
- internal struct PositionStruct
+ public struct PositionStruct
{
private readonly int line;
private readonly int column;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/TextBlock.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/TextBlock.cs
similarity index 93%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/TextBlock.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/TextBlock.cs
index 3b6e2710..4c42922b 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/TextBlock.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/TextBlock.cs
@@ -3,25 +3,25 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
-using System.Text;
using System.Collections.Generic;
+using System.Text;
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal class TextBlock
+ public class TextBlock
{
private readonly Parser parser;
private readonly IEnumerable tokens;
///
- /// Constructor for the TextBlock class
+ /// Constructor for the TextBlock class
///
public TextBlock(Parser parser, Token token) : this(parser, new[] { token })
{
}
///
- /// Constructor for the TextBlock class
+ /// Constructor for the TextBlock class
///
public TextBlock(Parser parser, IEnumerable tokens)
{
@@ -63,6 +63,5 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser
lineInfo = new LineInfo(tokens, variableRefs);
text = sb.ToString();
}
-
}
-}
+}
\ No newline at end of file
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/TextRuleFlags.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/TextRuleFlags.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/TextRuleFlags.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/TextRuleFlags.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/Token.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Token.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/Token.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Token.cs
index c1d74a18..c88e3a3c 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/Token.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/Token.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.BatchParser
{
- internal sealed class Token
+ public sealed class Token
{
///
/// Token class used by the lexer in Batch Parser
diff --git a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/VariableReference.cs b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/VariableReference.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/BatchParser/VariableReference.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/VariableReference.cs
index 41e13937..a31e2e5d 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/BatchParser/VariableReference.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/VariableReference.cs
@@ -8,7 +8,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser
///
/// Class for reference of variables used by the lexer
///
- internal sealed class VariableReference
+ public sealed class VariableReference
{
///
/// Constructor method for VariableReference class
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.cs b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.cs
new file mode 100644
index 00000000..fcdf3c56
--- /dev/null
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.cs
@@ -0,0 +1,381 @@
+// WARNING:
+// This file was generated by the Microsoft DataWarehouse String Resource Tool 1.37.0.0
+// from information in sr.strings
+// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
+//
+namespace Microsoft.SqlTools.ManagedBatchParser
+{
+ using System;
+ using System.Reflection;
+ using System.Resources;
+ using System.Globalization;
+
+ [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class SR
+ {
+ protected SR()
+ { }
+
+ public static CultureInfo Culture
+ {
+ get
+ {
+ return Keys.Culture;
+ }
+ set
+ {
+ Keys.Culture = value;
+ }
+ }
+
+
+ public static string EE_BatchSqlMessageNoProcedureInfo
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchSqlMessageNoProcedureInfo);
+ }
+ }
+
+ public static string EE_BatchSqlMessageWithProcedureInfo
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchSqlMessageWithProcedureInfo);
+ }
+ }
+
+ public static string EE_BatchSqlMessageNoLineInfo
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchSqlMessageNoLineInfo);
+ }
+ }
+
+ public static string EE_BatchError_Exception
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchError_Exception);
+ }
+ }
+
+ public static string EE_BatchExecutionInfo_RowsAffected
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchExecutionInfo_RowsAffected);
+ }
+ }
+
+ public static string EE_ExecutionNotYetCompleteError
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ExecutionNotYetCompleteError);
+ }
+ }
+
+ public static string EE_ScriptError_Error
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ScriptError_Error);
+ }
+ }
+
+ public static string EE_ScriptError_ParsingSyntax
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ScriptError_ParsingSyntax);
+ }
+ }
+
+ public static string EE_ScriptError_FatalError
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ScriptError_FatalError);
+ }
+ }
+
+ public static string EE_ExecutionInfo_FinalizingLoop
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ExecutionInfo_FinalizingLoop);
+ }
+ }
+
+ public static string EE_ExecutionInfo_QueryCancelledbyUser
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ExecutionInfo_QueryCancelledbyUser);
+ }
+ }
+
+ public static string EE_BatchExecutionError_Halting
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchExecutionError_Halting);
+ }
+ }
+
+ public static string EE_BatchExecutionError_Ignoring
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_BatchExecutionError_Ignoring);
+ }
+ }
+
+ public static string EE_ExecutionInfo_InitializingLoop
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop);
+ }
+ }
+
+ public static string EE_ExecutionError_CommandNotSupported
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ExecutionError_CommandNotSupported);
+ }
+ }
+
+ public static string EE_ExecutionError_VariableNotFound
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ExecutionError_VariableNotFound);
+ }
+ }
+
+ public static string BatchParserWrapperExecutionEngineError
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParserWrapperExecutionEngineError);
+ }
+ }
+
+ public static string BatchParserWrapperExecutionError
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParserWrapperExecutionError);
+ }
+ }
+
+ public static string BatchParserWrapperExecutionEngineBatchMessage
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchMessage);
+ }
+ }
+
+ public static string BatchParserWrapperExecutionEngineBatchResultSetProcessing
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetProcessing);
+ }
+ }
+
+ public static string BatchParserWrapperExecutionEngineBatchResultSetFinished
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetFinished);
+ }
+ }
+
+ public static string BatchParserWrapperExecutionEngineBatchCancelling
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchCancelling);
+ }
+ }
+
+ public static string EE_ScriptError_Warning
+ {
+ get
+ {
+ return Keys.GetString(Keys.EE_ScriptError_Warning);
+ }
+ }
+
+ public static string TroubleshootingAssistanceMessage
+ {
+ get
+ {
+ return Keys.GetString(Keys.TroubleshootingAssistanceMessage);
+ }
+ }
+
+ public static string BatchParser_CircularReference
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParser_CircularReference);
+ }
+ }
+
+ public static string BatchParser_CommentNotTerminated
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParser_CommentNotTerminated);
+ }
+ }
+
+ public static string BatchParser_StringNotTerminated
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParser_StringNotTerminated);
+ }
+ }
+
+ public static string BatchParser_IncorrectSyntax
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParser_IncorrectSyntax);
+ }
+ }
+
+ public static string BatchParser_VariableNotDefined
+ {
+ get
+ {
+ return Keys.GetString(Keys.BatchParser_VariableNotDefined);
+ }
+ }
+
+ [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ public class Keys
+ {
+ static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ManagedBatchParser.Localization.SR", typeof(SR).GetTypeInfo().Assembly);
+
+ static CultureInfo _culture = null;
+
+
+ public const string EE_BatchSqlMessageNoProcedureInfo = "EE_BatchSqlMessageNoProcedureInfo";
+
+
+ public const string EE_BatchSqlMessageWithProcedureInfo = "EE_BatchSqlMessageWithProcedureInfo";
+
+
+ public const string EE_BatchSqlMessageNoLineInfo = "EE_BatchSqlMessageNoLineInfo";
+
+
+ public const string EE_BatchError_Exception = "EE_BatchError_Exception";
+
+
+ public const string EE_BatchExecutionInfo_RowsAffected = "EE_BatchExecutionInfo_RowsAffected";
+
+
+ public const string EE_ExecutionNotYetCompleteError = "EE_ExecutionNotYetCompleteError";
+
+
+ public const string EE_ScriptError_Error = "EE_ScriptError_Error";
+
+
+ public const string EE_ScriptError_ParsingSyntax = "EE_ScriptError_ParsingSyntax";
+
+
+ public const string EE_ScriptError_FatalError = "EE_ScriptError_FatalError";
+
+
+ public const string EE_ExecutionInfo_FinalizingLoop = "EE_ExecutionInfo_FinalizingLoop";
+
+
+ public const string EE_ExecutionInfo_QueryCancelledbyUser = "EE_ExecutionInfo_QueryCancelledbyUser";
+
+
+ public const string EE_BatchExecutionError_Halting = "EE_BatchExecutionError_Halting";
+
+
+ public const string EE_BatchExecutionError_Ignoring = "EE_BatchExecutionError_Ignoring";
+
+
+ public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop";
+
+
+ public const string EE_ExecutionError_CommandNotSupported = "EE_ExecutionError_CommandNotSupported";
+
+
+ public const string EE_ExecutionError_VariableNotFound = "EE_ExecutionError_VariableNotFound";
+
+
+ public const string BatchParserWrapperExecutionEngineError = "BatchParserWrapperExecutionEngineError";
+
+
+ public const string BatchParserWrapperExecutionError = "BatchParserWrapperExecutionError";
+
+
+ public const string BatchParserWrapperExecutionEngineBatchMessage = "BatchParserWrapperExecutionEngineBatchMessage";
+
+
+ public const string BatchParserWrapperExecutionEngineBatchResultSetProcessing = "BatchParserWrapperExecutionEngineBatchResultSetProcessing";
+
+
+ public const string BatchParserWrapperExecutionEngineBatchResultSetFinished = "BatchParserWrapperExecutionEngineBatchResultSetFinished";
+
+
+ public const string BatchParserWrapperExecutionEngineBatchCancelling = "BatchParserWrapperExecutionEngineBatchCancelling";
+
+
+ public const string EE_ScriptError_Warning = "EE_ScriptError_Warning";
+
+
+ public const string TroubleshootingAssistanceMessage = "TroubleshootingAssistanceMessage";
+
+
+ public const string BatchParser_CircularReference = "BatchParser_CircularReference";
+
+
+ public const string BatchParser_CommentNotTerminated = "BatchParser_CommentNotTerminated";
+
+
+ public const string BatchParser_StringNotTerminated = "BatchParser_StringNotTerminated";
+
+
+ public const string BatchParser_IncorrectSyntax = "BatchParser_IncorrectSyntax";
+
+
+ public const string BatchParser_VariableNotDefined = "BatchParser_VariableNotDefined";
+
+
+ private Keys()
+ { }
+
+ public static CultureInfo Culture
+ {
+ get
+ {
+ return _culture;
+ }
+ set
+ {
+ _culture = value;
+ }
+ }
+
+ public static string GetString(string key)
+ {
+ return resourceManager.GetString(key, _culture);
+ }
+
+ }
+ }
+}
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.resx b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.resx
new file mode 100644
index 00000000..db2aa302
--- /dev/null
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.resx
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Msg {0}, Level {1}, State {2}, Line {3}
+
+
+
+ Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
+
+
+
+ Msg {0}, Level {1}, State {2}
+
+
+
+ An error occurred while the batch was being processed. The error message is: {0}
+
+
+
+ ({0} row(s) affected)
+
+
+
+ The previous execution is not yet complete.
+
+
+
+ A scripting error occurred.
+
+
+
+ Incorrect syntax was encountered while {0} was being parsed.
+
+
+
+ A fatal error occurred.
+
+
+
+ Batch execution completed {0} times...
+
+
+
+ You cancelled the query.
+
+
+
+ An error occurred while the batch was being executed.
+
+
+
+ An error occurred while the batch was being executed, but the error has been ignored.
+
+
+
+ Beginning execution loop
+
+
+
+ Command {0} is not supported.
+
+
+
+ The variable {0} could not be found.
+
+
+
+ SQL Execution error: {0}
+
+
+
+ Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
+
+
+
+ Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
+
+
+
+ Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
+
+
+
+ Batch parser wrapper execution engine batch ResultSet finished.
+
+
+
+ Canceling batch parser wrapper batch execution.
+
+
+
+ Scripting warning.
+
+
+
+ For more information about this error, see the troubleshooting topics in the product documentation.
+
+
+
+ File '{0}' recursively included.
+
+
+
+ Missing end comment mark '*/'.
+
+
+
+ Unclosed quotation mark after the character string.
+
+
+
+ Incorrect syntax was encountered while parsing '{0}'.
+
+
+
+ Variable {0} is not defined.
+
+
+
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.strings b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.strings
new file mode 100644
index 00000000..e97d416e
--- /dev/null
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.strings
@@ -0,0 +1,84 @@
+# String resource file
+#
+# When processed by the String Resource Tool, this file generates
+# both a .CS and a .RESX file with the same name as the file.
+# The .CS file contains a class which can be used to access these
+# string resources, including the ability to format in
+# parameters, which are identified with the .NET {x} format
+# (see String.Format help).
+#
+# Comments below assume the file name is SR.strings.
+#
+# Lines starting with a semicolon ";" are also treated as comments, but
+# in a future version they will be extracted and made available in LocStudio
+# Put your comments to localizers _before_ the string they apply to.
+#
+# SMO build specific comment
+# after generating the .resx file, run srgen on it and get the .resx file
+# please remember to also check that .resx in, along with the
+# .strings and .cs files
+
+[strings]
+
+
+############################################################################
+# DacFx Resources
+
+EE_BatchSqlMessageNoProcedureInfo = Msg {0}, Level {1}, State {2}, Line {3}
+
+EE_BatchSqlMessageWithProcedureInfo = Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
+
+EE_BatchSqlMessageNoLineInfo = Msg {0}, Level {1}, State {2}
+
+EE_BatchError_Exception = An error occurred while the batch was being processed. The error message is: {0}
+
+EE_BatchExecutionInfo_RowsAffected = ({0} row(s) affected)
+
+EE_ExecutionNotYetCompleteError = The previous execution is not yet complete.
+
+EE_ScriptError_Error = A scripting error occurred.
+
+EE_ScriptError_ParsingSyntax = Incorrect syntax was encountered while {0} was being parsed.
+
+EE_ScriptError_FatalError = A fatal error occurred.
+
+EE_ExecutionInfo_FinalizingLoop = Batch execution completed {0} times...
+
+EE_ExecutionInfo_QueryCancelledbyUser = You cancelled the query.
+
+EE_BatchExecutionError_Halting = An error occurred while the batch was being executed.
+
+EE_BatchExecutionError_Ignoring = An error occurred while the batch was being executed, but the error has been ignored.
+
+EE_ExecutionInfo_InitializingLoop = Beginning execution loop
+
+EE_ExecutionError_CommandNotSupported = Command {0} is not supported.
+
+EE_ExecutionError_VariableNotFound = The variable {0} could not be found.
+
+BatchParserWrapperExecutionEngineError = SQL Execution error: {0}
+
+BatchParserWrapperExecutionError = Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
+
+BatchParserWrapperExecutionEngineBatchMessage = Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
+
+BatchParserWrapperExecutionEngineBatchResultSetProcessing = Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
+
+BatchParserWrapperExecutionEngineBatchResultSetFinished = Batch parser wrapper execution engine batch ResultSet finished.
+
+BatchParserWrapperExecutionEngineBatchCancelling = Canceling batch parser wrapper batch execution.
+
+EE_ScriptError_Warning = Scripting warning.
+
+TroubleshootingAssistanceMessage = For more information about this error, see the troubleshooting topics in the product documentation.
+
+BatchParser_CircularReference = File '{0}' recursively included.
+
+BatchParser_CommentNotTerminated = Missing end comment mark '*/'.
+
+BatchParser_StringNotTerminated = Unclosed quotation mark after the character string.
+
+BatchParser_IncorrectSyntax = Incorrect syntax was encountered while parsing '{0}'.
+
+BatchParser_VariableNotDefined = Variable {0} is not defined.
+
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.xlf b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.xlf
new file mode 100644
index 00000000..3399ad70
--- /dev/null
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.xlf
@@ -0,0 +1,152 @@
+
+
+
+
+
+ Msg {0}, Level {1}, State {2}, Line {3}
+ Msg {0}, Level {1}, State {2}, Line {3}
+
+
+
+ Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
+ Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
+
+
+
+ Msg {0}, Level {1}, State {2}
+ Msg {0}, Level {1}, State {2}
+
+
+
+ An error occurred while the batch was being processed. The error message is: {0}
+ An error occurred while the batch was being processed. The error message is: {0}
+
+
+
+ ({0} row(s) affected)
+ ({0} row(s) affected)
+
+
+
+ The previous execution is not yet complete.
+ The previous execution is not yet complete.
+
+
+
+ A scripting error occurred.
+ A scripting error occurred.
+
+
+
+ Incorrect syntax was encountered while {0} was being parsed.
+ Incorrect syntax was encountered while {0} was being parsed.
+
+
+
+ A fatal error occurred.
+ A fatal error occurred.
+
+
+
+ Batch execution completed {0} times...
+ Batch execution completed {0} times...
+
+
+
+ You cancelled the query.
+ You cancelled the query.
+
+
+
+ An error occurred while the batch was being executed.
+ An error occurred while the batch was being executed.
+
+
+
+ An error occurred while the batch was being executed, but the error has been ignored.
+ An error occurred while the batch was being executed, but the error has been ignored.
+
+
+
+ Beginning execution loop
+ Beginning execution loop
+
+
+
+ Command {0} is not supported.
+ Command {0} is not supported.
+
+
+
+ The variable {0} could not be found.
+ The variable {0} could not be found.
+
+
+
+ SQL Execution error: {0}
+ SQL Execution error: {0}
+
+
+
+ Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
+ Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
+
+
+
+ Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
+ Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
+
+
+
+ Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
+ Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
+
+
+
+ Batch parser wrapper execution engine batch ResultSet finished.
+ Batch parser wrapper execution engine batch ResultSet finished.
+
+
+
+ Canceling batch parser wrapper batch execution.
+ Canceling batch parser wrapper batch execution.
+
+
+
+ Scripting warning.
+ Scripting warning.
+
+
+
+ For more information about this error, see the troubleshooting topics in the product documentation.
+ For more information about this error, see the troubleshooting topics in the product documentation.
+
+
+
+ File '{0}' recursively included.
+ File '{0}' recursively included.
+
+
+
+
+ Unclosed quotation mark after the character string.
+ Unclosed quotation mark after the character string.
+
+
+
+ Incorrect syntax was encountered while parsing '{0}'.
+ Incorrect syntax was encountered while parsing '{0}'.
+
+
+
+ Variable {0} is not defined.
+ Variable {0} is not defined.
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj b/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj
new file mode 100644
index 00000000..7c63cc89
--- /dev/null
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj
@@ -0,0 +1,21 @@
+
+
+ netstandard2.0
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Properties/AssemblyInfo.cs b/src/Microsoft.SqlTools.ManagedBatchParser/Properties/AssemblyInfo.cs
new file mode 100644
index 00000000..4cf13ee7
--- /dev/null
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Properties/AssemblyInfo.cs
@@ -0,0 +1,43 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+//
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Microsoft.SqlTools.ManagedBatchParser")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Microsoft.SqlTools.ManagedBatchParser")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("82dd9738-2ad3-4eb3-9f80-18b594e03621")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: InternalsVisibleTo("Microsoft.SqlTools.ServiceLayer.UnitTests")]
+[assembly: InternalsVisibleTo("Microsoft.SqlTools.ServiceLayer.IntegrationTests")]
+[assembly: InternalsVisibleTo("Microsoft.SqlTools.ServiceLayer.Test.Common")]
+[assembly: InternalsVisibleTo("MicrosoftSqlToolsServiceLayer")]
+[assembly: InternalsVisibleTo("Microsoft.SqlTools.ManagedBatchParser.UnitTests")]
\ No newline at end of file
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/AmbientSettings.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/AmbientSettings.cs
similarity index 98%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/AmbientSettings.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/AmbientSettings.cs
index 46f621c2..c31e3c5d 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/AmbientSettings.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/AmbientSettings.cs
@@ -16,11 +16,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// cannot rely on the registry to supply override values therefore setting overrides must be made
/// by the top-of-the-stack
///
- internal sealed class AmbientSettings
+ public sealed class AmbientSettings
{
private const string LogicalContextName = "__LocalContextConfigurationName";
- internal enum StreamBackingStore
+ public enum StreamBackingStore
{
// MemoryStream
Memory = 0,
@@ -49,7 +49,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
internal const string DoNotSerializeQueryStoreSettingsIndex = "DoNotSerializeQueryStoreSettings";
internal const string AlwaysEncryptedWizardMigrationIndex = "AlwaysEncryptedWizardMigration";
- internal static AmbientData _defaultSettings;
+ public static AmbientData _defaultSettings;
static AmbientSettings()
{
@@ -291,25 +291,25 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
set { _configuration[ImportModelDatabaseIndex].Value = value; }
}
- internal bool SupportAlwaysEncrypted
+ public bool SupportAlwaysEncrypted
{
get { return (bool)_configuration[SupportAlwaysEncryptedIndex].Value; }
set { _configuration[SupportAlwaysEncryptedIndex].Value = value; }
}
- internal bool AlwaysEncryptedWizardMigration
+ public bool AlwaysEncryptedWizardMigration
{
get { return (bool)_configuration[AlwaysEncryptedWizardMigrationIndex].Value; }
set { _configuration[AlwaysEncryptedWizardMigrationIndex].Value = value; }
}
- internal bool SkipObjectTypeBlocking
+ public bool SkipObjectTypeBlocking
{
get { return (bool)_configuration[SkipObjectTypeBlockingIndex].Value; }
set { _configuration[SkipObjectTypeBlockingIndex].Value = value; }
}
- internal bool DoNotSerializeQueryStoreSettings
+ public bool DoNotSerializeQueryStoreSettings
{
get { return (bool)_configuration[DoNotSerializeQueryStoreSettingsIndex].Value; }
set { _configuration[DoNotSerializeQueryStoreSettingsIndex].Value = value; }
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/CachedServerInfo.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/CachedServerInfo.cs
similarity index 98%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/CachedServerInfo.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/CachedServerInfo.cs
index a1548b6a..5217fd89 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/CachedServerInfo.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/CachedServerInfo.cs
@@ -17,7 +17,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// This class caches server information for subsequent use
///
- internal class CachedServerInfo
+ public class CachedServerInfo
{
///
/// Singleton service instance
@@ -115,7 +115,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Internal constructor for testing purposes. For all code use, please use the
/// default instance.
///
- internal CachedServerInfo()
+ public CachedServerInfo()
{
_cache = new ConcurrentDictionary();
_cacheLock = new object();
@@ -175,7 +175,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
AddOrUpdateCache(builder, newState, cacheVar);
}
- internal void AddOrUpdateCache(SqlConnectionStringBuilder builder, bool newState, CacheVariable cacheVar)
+ public void AddOrUpdateCache(SqlConnectionStringBuilder builder, bool newState, CacheVariable cacheVar)
{
Validate.IsNotNull(nameof(builder), builder);
Validate.IsNotNullOrWhitespaceString(nameof(builder) + ".DataSource", builder.DataSource);
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/Constants.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/Constants.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/Constants.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/Constants.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DataSchemaError.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DataSchemaError.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DataSchemaError.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DataSchemaError.cs
index 143b29ec..975824ae 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DataSchemaError.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DataSchemaError.cs
@@ -15,7 +15,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// the objects are just data-transfer-objects initialized during construction.
///
[Serializable]
- internal class DataSchemaError
+ public class DataSchemaError
{
internal const string DefaultPrefix = "SQL";
private const int MaxErrorCode = 99999;
@@ -182,7 +182,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
get { return FormatErrorCode(Prefix, ErrorCode); }
}
- internal Boolean IsBuildErrorCodeDefined
+ public Boolean IsBuildErrorCodeDefined
{
get { return (ErrorCode != UndefinedErrorCode); }
}
@@ -190,9 +190,9 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// true if this error is being displayed in ErrorList. More of an Accounting Mechanism to be used internally.
///
- internal bool IsOnDisplay { get; set; }
+ public bool IsOnDisplay { get; set; }
- internal static string FormatErrorCode(string prefix, int code)
+ public static string FormatErrorCode(string prefix, int code)
{
return string.Format(
CultureInfo.InvariantCulture,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DbCommandWrapper.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DbCommandWrapper.cs
similarity index 98%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DbCommandWrapper.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DbCommandWrapper.cs
index d9b96397..86413030 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DbCommandWrapper.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DbCommandWrapper.cs
@@ -15,7 +15,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Wraps objects that could be a or
/// a , providing common methods across both.
///
- internal sealed class DbCommandWrapper
+ public sealed class DbCommandWrapper
{
private readonly IDbCommand _command;
private readonly bool _isReliableCommand;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DbConnectionWrapper.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DbConnectionWrapper.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/DbConnectionWrapper.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/DbConnectionWrapper.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ErrorSeverity.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ErrorSeverity.cs
similarity index 90%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ErrorSeverity.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ErrorSeverity.cs
index 5cb01c6d..6e5581eb 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ErrorSeverity.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ErrorSeverity.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal enum ErrorSeverity
+ public enum ErrorSeverity
{
Unknown = 0,
Error,
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/IStackSettingsContext.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/IStackSettingsContext.cs
similarity index 90%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/IStackSettingsContext.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/IStackSettingsContext.cs
index a121ab73..b593a3e2 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/IStackSettingsContext.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/IStackSettingsContext.cs
@@ -12,7 +12,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// top-of-stack API. Changes made to this context's AmbientData instance will
/// flow to lower in the stack while this object is not disposed.
///
- internal interface IStackSettingsContext : IDisposable
+ public interface IStackSettingsContext : IDisposable
{
AmbientSettings.AmbientData Settings { get; }
}
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableConnectionHelper.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableConnectionHelper.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableConnectionHelper.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableConnectionHelper.cs
index fad121bb..e490a406 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableConnectionHelper.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableConnectionHelper.cs
@@ -16,7 +16,7 @@ using Microsoft.SqlServer.Management.Common;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal static class ReliableConnectionHelper
+ public static class ReliableConnectionHelper
{
private const int PCU1BuildNumber = 2816;
public readonly static SqlConnectionStringBuilder BuilderWithDefaultApplicationName = new SqlConnectionStringBuilder("server=(local);");
@@ -705,6 +705,13 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
public Dictionary Options { get; set; }
}
+ public class ClusterEndpoint
+ {
+ public string ServiceName;
+ public string IpAddress;
+ public int Port;
+ }
+
public static bool TryGetServerVersion(string connectionString, out ServerInfo serverInfo, string azureAccountToken)
{
serverInfo = null;
@@ -902,7 +909,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
public string DatabaseName;
}
- internal static bool TryGetConnectionStringBuilder(string connectionString, out SqlConnectionStringBuilder builder)
+ public static bool TryGetConnectionStringBuilder(string connectionString, out SqlConnectionStringBuilder builder)
{
builder = null;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableSqlCommand.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlCommand.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableSqlCommand.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlCommand.cs
index eaacdfb0..7f55040a 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableSqlCommand.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlCommand.cs
@@ -35,9 +35,9 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Provides a reliable way of opening connections to and executing commands
/// taking into account potential network unreliability and a requirement for connection retry.
///
- internal sealed partial class ReliableSqlConnection
+ public sealed partial class ReliableSqlConnection
{
- internal class ReliableSqlCommand : DbCommand
+ public class ReliableSqlCommand : DbCommand
{
private const int Dummy = 0;
private readonly SqlCommand _command;
@@ -230,12 +230,12 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
_command.Prepare();
}
- internal SqlCommand GetUnderlyingCommand()
+ public SqlCommand GetUnderlyingCommand()
{
return _command;
}
- internal void ValidateConnectionIsSet()
+ public void ValidateConnectionIsSet()
{
if (_connection == null)
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableSqlConnection.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlConnection.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableSqlConnection.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlConnection.cs
index 3d9ebbf4..f275621b 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/ReliableSqlConnection.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlConnection.cs
@@ -41,7 +41,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Provides a reliable way of opening connections to and executing commands
/// taking into account potential network unreliability and a requirement for connection retry.
///
- internal sealed partial class ReliableSqlConnection : DbConnection, IDisposable
+ public sealed partial class ReliableSqlConnection : DbConnection, IDisposable
{
private const string QueryAzureSessionId = "SELECT CONVERT(NVARCHAR(36), CONTEXT_INFO())";
@@ -493,7 +493,7 @@ SET NUMERIC_ROUNDABORT OFF;";
}
// Because retry loses session settings, cache session settings or reply if the settings are already cached.
- internal Tuple[] CacheOrReplaySessionSettings(IDbCommand originalCommand, Tuple[] sessionSettings)
+ public Tuple[] CacheOrReplaySessionSettings(IDbCommand originalCommand, Tuple[] sessionSettings)
{
if (sessionSettings == null)
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/Resources.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/Resources.cs
similarity index 79%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/Resources.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/Resources.cs
index 796cfeb1..c22bf4ba 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/Resources.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/Resources.cs
@@ -8,7 +8,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// Contains string resources used throughout ReliableConnection code.
///
- internal static class Resources
+ public static class Resources
{
internal static string AmbientSettingFormat
{
@@ -18,7 +18,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string ConnectionPassedToIsCloudShouldBeOpen
+ public static string ConnectionPassedToIsCloudShouldBeOpen
{
get
{
@@ -26,7 +26,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string ConnectionPropertyNotSet
+ public static string ConnectionPropertyNotSet
{
get
{
@@ -34,7 +34,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string ExceptionCannotBeRetried
+ public static string ExceptionCannotBeRetried
{
get
{
@@ -42,7 +42,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string ErrorParsingConnectionString
+ public static string ErrorParsingConnectionString
{
get
{
@@ -50,7 +50,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string FailedToCacheIsCloud
+ public static string FailedToCacheIsCloud
{
get
{
@@ -58,7 +58,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string FailedToParseConnectionString
+ public static string FailedToParseConnectionString
{
get
{
@@ -66,7 +66,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string IgnoreOnException
+ public static string IgnoreOnException
{
get
{
@@ -74,7 +74,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string InvalidCommandType
+ public static string InvalidCommandType
{
get
{
@@ -82,7 +82,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string InvalidConnectionType
+ public static string InvalidConnectionType
{
get
{
@@ -106,7 +106,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string OnlyReliableConnectionSupported
+ public static string OnlyReliableConnectionSupported
{
get
{
@@ -114,7 +114,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string RetryOnException
+ public static string RetryOnException
{
get
{
@@ -130,7 +130,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string UnableToAssignValue
+ public static string UnableToAssignValue
{
get
{
@@ -138,7 +138,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static string UnableToRetrieveAzureSessionId
+ public static string UnableToRetrieveAzureSessionId
{
get
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryLimitExceededException.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryLimitExceededException.cs
similarity index 89%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryLimitExceededException.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryLimitExceededException.cs
index c4f99e59..26932f3e 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryLimitExceededException.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryLimitExceededException.cs
@@ -32,13 +32,13 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// exception to notify the retry policy that no further retry attempts are required.
///
[Serializable]
- internal sealed class RetryLimitExceededException : Exception
+ public sealed class RetryLimitExceededException : Exception
{
- internal RetryLimitExceededException() : base()
+ public RetryLimitExceededException() : base()
{
}
- internal RetryLimitExceededException(string m, Exception e) : base(m, e)
+ public RetryLimitExceededException(string m, Exception e) : base(m, e)
{
}
}
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs
similarity index 92%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs
index 5295effd..e0678921 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs
@@ -9,12 +9,12 @@ using Microsoft.SqlTools.Utility;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
///
/// Provides the error detection logic for temporary faults that are commonly found during data transfer.
///
- internal class DataTransferErrorDetectionStrategy : ErrorDetectionStrategyBase
+ public class DataTransferErrorDetectionStrategy : ErrorDetectionStrategyBase
{
private static readonly DataTransferErrorDetectionStrategy instance = new DataTransferErrorDetectionStrategy();
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs
index bc591616..de7f4b5d 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs
@@ -8,7 +8,7 @@ using System.Data.SqlClient;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
public interface IErrorDetectionStrategy
{
@@ -31,7 +31,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Base class with common retry logic. The core behavior for retrying non SqlExceptions is the same
/// across retry policies
///
- internal abstract class ErrorDetectionStrategyBase : IErrorDetectionStrategy
+ public abstract class ErrorDetectionStrategyBase : IErrorDetectionStrategy
{
public bool CanRetry(Exception ex)
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs
similarity index 91%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs
index bcdd5083..5b2b0d7c 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs
@@ -7,13 +7,13 @@ using System.Data.SqlClient;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
///
/// Provides the error detection logic for temporary faults that are commonly found in SQL Azure.
/// The same errors CAN occur on premise also, but they are not seen as often.
///
- internal sealed class NetworkConnectivityErrorDetectionStrategy : ErrorDetectionStrategyBase
+ public sealed class NetworkConnectivityErrorDetectionStrategy : ErrorDetectionStrategyBase
{
private static NetworkConnectivityErrorDetectionStrategy instance = new NetworkConnectivityErrorDetectionStrategy();
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs
similarity index 93%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs
index 65c35b96..cefa6b4e 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs
@@ -8,7 +8,7 @@ using System.Data.SqlClient;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
///
/// Provides the error detection logic for temporary faults that are commonly found in SQL Azure.
@@ -18,7 +18,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// want to consider this as passing since the first execution that has timed out (or failed for some other temporary error)
/// might have managed to create the object.
///
- internal class SqlAzureTemporaryAndIgnorableErrorDetectionStrategy : ErrorDetectionStrategyBase
+ public class SqlAzureTemporaryAndIgnorableErrorDetectionStrategy : ErrorDetectionStrategyBase
{
///
/// Azure error that can be ignored
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs
index bf64b144..4446b0c8 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs
@@ -7,7 +7,7 @@ using System.Data.SqlClient;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
///
/// Provides the error detection logic for temporary faults that are commonly found in SQL Azure.
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.ThrottleReason.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.ThrottleReason.cs
index 64eb2102..4df38944 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.ThrottleReason.cs
@@ -13,7 +13,7 @@ using System.Text.RegularExpressions;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
///
/// Implements an object holding the decoded reason code returned from SQL Azure when encountering throttling conditions.
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.cs
index 3f158602..6bb5d3c5 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicy.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicy.cs
@@ -36,19 +36,19 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// Implements a policy defining and implementing the retry mechanism for unreliable actions.
///
- internal abstract partial class RetryPolicy
+ public abstract partial class RetryPolicy
{
///
/// Defines a callback delegate which will be invoked whenever a retry condition is encountered.
///
/// The state of current retry attempt.
- internal delegate void RetryCallbackDelegate(RetryState retryState);
+ public delegate void RetryCallbackDelegate(RetryState retryState);
///
/// Defines a callback delegate which will be invoked whenever an error is ignored on retry.
///
/// The state of current retry attempt.
- internal delegate void IgnoreErrorCallbackDelegate(RetryState retryState);
+ public delegate void IgnoreErrorCallbackDelegate(RetryState retryState);
private readonly IErrorDetectionStrategy _errorDetectionStrategy;
@@ -106,7 +106,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// This flag is currently being used for TESTING PURPOSES ONLY.
///
- internal bool ShouldIgnoreOnFirstTry
+ public bool ShouldIgnoreOnFirstTry
{
get;
set;
@@ -292,7 +292,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
*/
- internal static int? GetErrorNumber(Exception ex)
+ public static int? GetErrorNumber(Exception ex)
{
SqlException sqlEx = ex as SqlException;
if (sqlEx == null)
@@ -331,7 +331,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal class FixedDelayPolicy : RetryPolicy
+ public class FixedDelayPolicy : RetryPolicy
{
private readonly int _maxRetryCount;
private readonly TimeSpan _intervalBetweenRetries;
@@ -367,7 +367,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal class ProgressiveRetryPolicy : RetryPolicy
+ public class ProgressiveRetryPolicy : RetryPolicy
{
private readonly int _maxRetryCount;
private readonly TimeSpan _initialInterval;
@@ -453,7 +453,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal class TimeBasedRetryPolicy : RetryPolicy
+ public class TimeBasedRetryPolicy : RetryPolicy
{
private readonly TimeSpan _minTotalRetryTimeLimit;
private readonly TimeSpan _maxTotalRetryTimeLimit;
@@ -533,7 +533,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
return new RetryStateEx { TotalRetryTime = TimeSpan.Zero };
}
- internal sealed class RetryStateEx : RetryState
+ public sealed class RetryStateEx : RetryState
{
public TimeSpan TotalRetryTime { get; set; }
}
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicyFactory.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicyFactory.cs
similarity index 92%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicyFactory.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicyFactory.cs
index 99f505a9..984f9e79 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicyFactory.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicyFactory.cs
@@ -57,11 +57,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
public static readonly TimeSpan DefaultProgressiveRetryIncrement = TimeSpan.FromMilliseconds(500);
}
-
+
///
/// Implements a collection of the RetryPolicyInfo elements holding retry policy settings.
///
- internal sealed class RetryPolicyFactory
+ public sealed class RetryPolicyFactory
{
///
/// Returns a default policy that does no retries, it just invokes action exactly once.
@@ -77,7 +77,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Implements a strategy that ignores any transient errors.
/// Internal for testing purposes only
///
- internal sealed class TransientErrorIgnoreStrategy : RetryPolicy.IErrorDetectionStrategy
+ public sealed class TransientErrorIgnoreStrategy : RetryPolicy.IErrorDetectionStrategy
{
private static readonly TransientErrorIgnoreStrategy _instance = new TransientErrorIgnoreStrategy();
@@ -101,7 +101,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Creates and returns a default Retry Policy for Schema based operations.
///
/// An instance of class.
- internal static RetryPolicy CreateDefaultSchemaCommandRetryPolicy(bool useRetry, int retriesPerPhase = RetryPolicyDefaults.DefaulSchemaRetryCount)
+ public static RetryPolicy CreateDefaultSchemaCommandRetryPolicy(bool useRetry, int retriesPerPhase = RetryPolicyDefaults.DefaulSchemaRetryCount)
{
RetryPolicy policy;
@@ -128,7 +128,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// The RetryOccured event is wired to raise an RaiseAmbientRetryMessage message for a connection retry.
/// An instance of class.
- internal static RetryPolicy CreateSchemaConnectionRetryPolicy(int retriesPerPhase)
+ public static RetryPolicy CreateSchemaConnectionRetryPolicy(int retriesPerPhase)
{
RetryPolicy policy = new RetryPolicy.ExponentialDelayRetryPolicy(
RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.Instance,
@@ -145,7 +145,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// The RetryOccured event is wired to raise an RaiseAmbientRetryMessage message for a command retry.
/// An instance of class.
- internal static RetryPolicy CreateSchemaCommandRetryPolicy(int retriesPerPhase)
+ public static RetryPolicy CreateSchemaCommandRetryPolicy(int retriesPerPhase)
{
RetryPolicy policy = new RetryPolicy.ExponentialDelayRetryPolicy(
RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.Instance,
@@ -167,7 +167,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// The IgnoreErrorOccurred event is wired to raise an RaiseAmbientIgnoreMessage message for ignore.
///
/// An instance of class.
- internal static RetryPolicy CreateDatabaseCommandRetryPolicy(params int[] ignorableErrorNumbers)
+ public static RetryPolicy CreateDatabaseCommandRetryPolicy(params int[] ignorableErrorNumbers)
{
RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy errorDetectionStrategy =
new RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy(ignorableErrorNumbers);
@@ -196,7 +196,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// The IgnoreErrorOccurred event is wired to raise an RaiseAmbientIgnoreMessage message for ignore.
///
/// An instance of class.
- internal static RetryPolicy CreateElementCommandRetryPolicy(params int[] ignorableErrorNumbers)
+ public static RetryPolicy CreateElementCommandRetryPolicy(params int[] ignorableErrorNumbers)
{
Debug.Assert(ignorableErrorNumbers != null);
@@ -226,7 +226,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// The IgnoreErrorOccurred event is wired to raise an RaiseAmbientIgnoreMessage message for ignore.
///
/// An instance of class.
- internal static RetryPolicy CreatePrimaryKeyCommandRetryPolicy()
+ public static RetryPolicy CreatePrimaryKeyCommandRetryPolicy()
{
RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy errorDetectionStrategy =
new RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy(SqlErrorNumbers.PrimaryKeyViolationErrorNumber);
@@ -390,7 +390,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
return retryPolicy;
}
- internal static void DataConnectionFailureRetry(RetryState retryState)
+ public static void DataConnectionFailureRetry(RetryState retryState)
{
Logger.Write(TraceEventType.Information, string.Format(CultureInfo.InvariantCulture,
"Connection retry number {0}. Delaying {1} ms before retry. Exception: {2}",
@@ -401,7 +401,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
RetryPolicyUtils.RaiseAmbientRetryMessage(retryState, SqlSchemaModelErrorCodes.ServiceActions.ConnectionRetry);
}
- internal static void CommandFailureRetry(RetryState retryState, string commandKeyword)
+ public static void CommandFailureRetry(RetryState retryState, string commandKeyword)
{
Logger.Write(TraceEventType.Information, string.Format(
CultureInfo.InvariantCulture,
@@ -414,7 +414,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
RetryPolicyUtils.RaiseAmbientRetryMessage(retryState, SqlSchemaModelErrorCodes.ServiceActions.CommandRetry);
}
- internal static void CommandFailureIgnore(RetryState retryState, string commandKeyword)
+ public static void CommandFailureIgnore(RetryState retryState, string commandKeyword)
{
Logger.Write(TraceEventType.Information, string.Format(
CultureInfo.InvariantCulture,
@@ -426,32 +426,32 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
RetryPolicyUtils.RaiseAmbientIgnoreMessage(retryState, SqlSchemaModelErrorCodes.ServiceActions.CommandRetry);
}
- internal static void CommandFailureRetry(RetryState retryState)
+ public static void CommandFailureRetry(RetryState retryState)
{
CommandFailureRetry(retryState, "Command");
}
- internal static void CommandFailureIgnore(RetryState retryState)
+ public static void CommandFailureIgnore(RetryState retryState)
{
CommandFailureIgnore(retryState, "Command");
}
- internal static void CreateDatabaseCommandFailureRetry(RetryState retryState)
+ public static void CreateDatabaseCommandFailureRetry(RetryState retryState)
{
CommandFailureRetry(retryState, "Database Command");
}
- internal static void CreateDatabaseCommandFailureIgnore(RetryState retryState)
+ public static void CreateDatabaseCommandFailureIgnore(RetryState retryState)
{
CommandFailureIgnore(retryState, "Database Command");
}
- internal static void ElementCommandFailureRetry(RetryState retryState)
+ public static void ElementCommandFailureRetry(RetryState retryState)
{
CommandFailureRetry(retryState, "Element Command");
}
- internal static void ElementCommandFailureIgnore(RetryState retryState)
+ public static void ElementCommandFailureIgnore(RetryState retryState)
{
CommandFailureIgnore(retryState, "Element Command");
}
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicyUtils.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicyUtils.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicyUtils.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicyUtils.cs
index c522a706..59423c01 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryPolicyUtils.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryPolicyUtils.cs
@@ -12,7 +12,7 @@ using Microsoft.SqlTools.Utility;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal static class RetryPolicyUtils
+ public static class RetryPolicyUtils
{
///
/// Approved list of transient errors that should be retryable during Network connection stages
@@ -257,7 +257,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// Total number of retries including the current retry
/// TimeSpan defining the length of time to delay
- internal static TimeSpan CalcExponentialRetryDelayWithSchemaDefaults(int currentRetryCount)
+ public static TimeSpan CalcExponentialRetryDelayWithSchemaDefaults(int currentRetryCount)
{
return CalcExponentialRetryDelay(currentRetryCount,
RetryPolicyDefaults.DefaultBackoffIntervalFactor,
@@ -277,7 +277,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Minimum interval between retries. The basis for all backoff calculations
/// Maximum interval between retries. Backoff will not take longer than this period.
/// TimeSpan defining the length of time to delay
- internal static TimeSpan CalcExponentialRetryDelay(int currentRetryCount, double intervalFactor, TimeSpan minInterval, TimeSpan maxInterval)
+ public static TimeSpan CalcExponentialRetryDelay(int currentRetryCount, double intervalFactor, TimeSpan minInterval, TimeSpan maxInterval)
{
try
{
@@ -298,7 +298,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static void RaiseAmbientRetryMessage(RetryState retryState, int errorCode)
+ public static void RaiseAmbientRetryMessage(RetryState retryState, int errorCode)
{
Action retryMsgHandler = AmbientSettings.ConnectionRetryMessageHandler;
if (retryMsgHandler != null)
@@ -317,7 +317,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
}
}
- internal static void RaiseAmbientIgnoreMessage(RetryState retryState, int errorCode)
+ public static void RaiseAmbientIgnoreMessage(RetryState retryState, int errorCode)
{
Action retryMsgHandler = AmbientSettings.ConnectionRetryMessageHandler;
if (retryMsgHandler != null)
@@ -341,7 +341,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
///
///
- internal static void RaiseSchemaAmbientRetryMessage(RetryState retryState, int errorCode, Guid azureSessionId)
+ public static void RaiseSchemaAmbientRetryMessage(RetryState retryState, int errorCode, Guid azureSessionId)
{
if (azureSessionId != Guid.Empty)
{
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryState.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryState.cs
similarity index 98%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryState.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryState.cs
index f79ade69..3f8ec64c 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/RetryState.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/RetryState.cs
@@ -7,7 +7,7 @@ using System;
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal class RetryState
+ public class RetryState
{
private int _retryCount = 0;
private TimeSpan _delay = TimeSpan.Zero;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlConnectionHelperScripts.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlConnectionHelperScripts.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlConnectionHelperScripts.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlConnectionHelperScripts.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlErrorNumbers.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlErrorNumbers.cs
similarity index 100%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlErrorNumbers.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlErrorNumbers.cs
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlSchemaModelErrorCodes.cs
similarity index 99%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlSchemaModelErrorCodes.cs
index e5f126cc..798437c6 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlSchemaModelErrorCodes.cs
@@ -5,7 +5,7 @@
namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
{
- internal static class SqlSchemaModelErrorCodes
+ public static class SqlSchemaModelErrorCodes
{
private const int ParserErrorCodeStartIndex = 46000;
private const int ParserErrorCodeEndIndex = 46499;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlServerError.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlServerError.cs
similarity index 97%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlServerError.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlServerError.cs
index c58b112d..b7a51210 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlServerError.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlServerError.cs
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
/// Represents an error produced by SQL Server database schema provider
///
[Serializable]
- internal class SqlServerError : DataSchemaError
+ public class SqlServerError : DataSchemaError
{
private const string SqlServerPrefix = "SQL";
private const string DefaultHelpKeyword = "vs.teamsystem.datatools.DefaultErrorMessageHelp";
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlServerRetryError.cs b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlServerRetryError.cs
similarity index 96%
rename from src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlServerRetryError.cs
rename to src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlServerRetryError.cs
index 35ec6aa1..2c0b9254 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/ReliableConnection/SqlServerRetryError.cs
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/SqlServerRetryError.cs
@@ -11,7 +11,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection
///
/// Captures extended information about a specific error and a retry
///
- internal class SqlServerRetryError : SqlServerError
+ public class SqlServerRetryError : SqlServerError
{
private int _retryCount;
private int _errorCode;
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Connection/Contracts/ServerInfo.cs b/src/Microsoft.SqlTools.ServiceLayer/Connection/Contracts/ServerInfo.cs
index a62ff495..881f41b3 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Connection/Contracts/ServerInfo.cs
+++ b/src/Microsoft.SqlTools.ServiceLayer/Connection/Contracts/ServerInfo.cs
@@ -3,7 +3,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
-using System;
using System.Collections.Generic;
namespace Microsoft.SqlTools.ServiceLayer.Connection.Contracts
@@ -73,11 +72,4 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.Contracts
///
public Dictionary Options { get; set; }
}
-}
-
-public class ClusterEndpoint
-{
- public string ServiceName;
- public string IpAddress;
- public int Port;
-}
+}
\ No newline at end of file
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
index 4242ac25..a7adb947 100755
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
@@ -669,99 +669,11 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
- public static string EE_BatchSqlMessageNoProcedureInfo
+ public static string EE_ExecutionInfo_InitializingLoop
{
get
{
- return Keys.GetString(Keys.EE_BatchSqlMessageNoProcedureInfo);
- }
- }
-
- public static string EE_BatchSqlMessageWithProcedureInfo
- {
- get
- {
- return Keys.GetString(Keys.EE_BatchSqlMessageWithProcedureInfo);
- }
- }
-
- public static string EE_BatchSqlMessageNoLineInfo
- {
- get
- {
- return Keys.GetString(Keys.EE_BatchSqlMessageNoLineInfo);
- }
- }
-
- public static string EE_BatchError_Exception
- {
- get
- {
- return Keys.GetString(Keys.EE_BatchError_Exception);
- }
- }
-
- public static string EE_BatchExecutionInfo_RowsAffected
- {
- get
- {
- return Keys.GetString(Keys.EE_BatchExecutionInfo_RowsAffected);
- }
- }
-
- public static string EE_ExecutionNotYetCompleteError
- {
- get
- {
- return Keys.GetString(Keys.EE_ExecutionNotYetCompleteError);
- }
- }
-
- public static string EE_ScriptError_Error
- {
- get
- {
- return Keys.GetString(Keys.EE_ScriptError_Error);
- }
- }
-
- public static string EE_ScriptError_ParsingSyntax
- {
- get
- {
- return Keys.GetString(Keys.EE_ScriptError_ParsingSyntax);
- }
- }
-
- public static string EE_ScriptError_FatalError
- {
- get
- {
- return Keys.GetString(Keys.EE_ScriptError_FatalError);
- }
- }
-
- public static string EE_ExecutionInfo_FinalizingLoop
- {
- get
- {
- return Keys.GetString(Keys.EE_ExecutionInfo_FinalizingLoop);
- }
- }
-
- public static string EE_ExecutionInfo_QueryCancelledbyUser
- {
- get
- {
- return Keys.GetString(Keys.EE_ExecutionInfo_QueryCancelledbyUser);
- }
- }
-
- public static string EE_BatchExecutionError_Halting
- {
- get
- {
- return Keys.GetString(Keys.EE_BatchExecutionError_Halting);
+ return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop);
}
}
@@ -773,35 +685,11 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
- public static string EE_ExecutionInfo_InitializingLoop
+ public static string EE_ExecutionInfo_FinalizingLoop
{
get
{
- return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop);
- }
- }
-
- public static string EE_ExecutionError_CommandNotSupported
- {
- get
- {
- return Keys.GetString(Keys.EE_ExecutionError_CommandNotSupported);
- }
- }
-
- public static string EE_ExecutionError_VariableNotFound
- {
- get
- {
- return Keys.GetString(Keys.EE_ExecutionError_VariableNotFound);
- }
- }
-
- public static string BatchParserWrapperExecutionEngineError
- {
- get
- {
- return Keys.GetString(Keys.BatchParserWrapperExecutionEngineError);
+ return Keys.GetString(Keys.EE_ExecutionInfo_FinalizingLoop);
}
}
@@ -813,94 +701,6 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
- public static string BatchParserWrapperExecutionEngineBatchMessage
- {
- get
- {
- return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchMessage);
- }
- }
-
- public static string BatchParserWrapperExecutionEngineBatchResultSetProcessing
- {
- get
- {
- return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetProcessing);
- }
- }
-
- public static string BatchParserWrapperExecutionEngineBatchResultSetFinished
- {
- get
- {
- return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetFinished);
- }
- }
-
- public static string BatchParserWrapperExecutionEngineBatchCancelling
- {
- get
- {
- return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchCancelling);
- }
- }
-
- public static string EE_ScriptError_Warning
- {
- get
- {
- return Keys.GetString(Keys.EE_ScriptError_Warning);
- }
- }
-
- public static string TroubleshootingAssistanceMessage
- {
- get
- {
- return Keys.GetString(Keys.TroubleshootingAssistanceMessage);
- }
- }
-
- public static string BatchParser_CircularReference
- {
- get
- {
- return Keys.GetString(Keys.BatchParser_CircularReference);
- }
- }
-
- public static string BatchParser_CommentNotTerminated
- {
- get
- {
- return Keys.GetString(Keys.BatchParser_CommentNotTerminated);
- }
- }
-
- public static string BatchParser_StringNotTerminated
- {
- get
- {
- return Keys.GetString(Keys.BatchParser_StringNotTerminated);
- }
- }
-
- public static string BatchParser_IncorrectSyntax
- {
- get
- {
- return Keys.GetString(Keys.BatchParser_IncorrectSyntax);
- }
- }
-
- public static string BatchParser_VariableNotDefined
- {
- get
- {
- return Keys.GetString(Keys.BatchParser_VariableNotDefined);
- }
- }
-
public static string TestLocalizationConstant
{
get
@@ -2485,926 +2285,6 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
- public static string unavailable
- {
- get
- {
- return Keys.GetString(Keys.unavailable);
- }
- }
-
- public static string filegroup_dialog_defaultFilegroup
- {
- get
- {
- return Keys.GetString(Keys.filegroup_dialog_defaultFilegroup);
- }
- }
-
- public static string filegroup_dialog_title
- {
- get
- {
- return Keys.GetString(Keys.filegroup_dialog_title);
- }
- }
-
- public static string filegroups_default
- {
- get
- {
- return Keys.GetString(Keys.filegroups_default);
- }
- }
-
- public static string filegroups_files
- {
- get
- {
- return Keys.GetString(Keys.filegroups_files);
- }
- }
-
- public static string filegroups_name
- {
- get
- {
- return Keys.GetString(Keys.filegroups_name);
- }
- }
-
- public static string filegroups_readonly
- {
- get
- {
- return Keys.GetString(Keys.filegroups_readonly);
- }
- }
-
- public static string general_autogrowth
- {
- get
- {
- return Keys.GetString(Keys.general_autogrowth);
- }
- }
-
- public static string general_builderText
- {
- get
- {
- return Keys.GetString(Keys.general_builderText);
- }
- }
-
- public static string general_default
- {
- get
- {
- return Keys.GetString(Keys.general_default);
- }
- }
-
- public static string general_fileGroup
- {
- get
- {
- return Keys.GetString(Keys.general_fileGroup);
- }
- }
-
- public static string general_fileName
- {
- get
- {
- return Keys.GetString(Keys.general_fileName);
- }
- }
-
- public static string general_fileType
- {
- get
- {
- return Keys.GetString(Keys.general_fileType);
- }
- }
-
- public static string general_initialSize
- {
- get
- {
- return Keys.GetString(Keys.general_initialSize);
- }
- }
-
- public static string general_newFilegroup
- {
- get
- {
- return Keys.GetString(Keys.general_newFilegroup);
- }
- }
-
- public static string general_path
- {
- get
- {
- return Keys.GetString(Keys.general_path);
- }
- }
-
- public static string general_physicalFileName
- {
- get
- {
- return Keys.GetString(Keys.general_physicalFileName);
- }
- }
-
- public static string general_rawDevice
- {
- get
- {
- return Keys.GetString(Keys.general_rawDevice);
- }
- }
-
- public static string general_recoveryModel_bulkLogged
- {
- get
- {
- return Keys.GetString(Keys.general_recoveryModel_bulkLogged);
- }
- }
-
- public static string general_recoveryModel_full
- {
- get
- {
- return Keys.GetString(Keys.general_recoveryModel_full);
- }
- }
-
- public static string general_recoveryModel_simple
- {
- get
- {
- return Keys.GetString(Keys.general_recoveryModel_simple);
- }
- }
-
- public static string general_titleSearchOwner
- {
- get
- {
- return Keys.GetString(Keys.general_titleSearchOwner);
- }
- }
-
- public static string prototype_autogrowth_disabled
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_disabled);
- }
- }
-
- public static string prototype_autogrowth_restrictedGrowthByMB
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_restrictedGrowthByMB);
- }
- }
-
- public static string prototype_autogrowth_restrictedGrowthByPercent
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_restrictedGrowthByPercent);
- }
- }
-
- public static string prototype_autogrowth_unrestrictedGrowthByMB
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_unrestrictedGrowthByMB);
- }
- }
-
- public static string prototype_autogrowth_unrestrictedGrowthByPercent
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_unrestrictedGrowthByPercent);
- }
- }
-
- public static string prototype_autogrowth_unlimitedfilestream
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_unlimitedfilestream);
- }
- }
-
- public static string prototype_autogrowth_limitedfilestream
- {
- get
- {
- return Keys.GetString(Keys.prototype_autogrowth_limitedfilestream);
- }
- }
-
- public static string prototype_db_category_automatic
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_automatic);
- }
- }
-
- public static string prototype_db_category_servicebroker
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_servicebroker);
- }
- }
-
- public static string prototype_db_category_collation
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_collation);
- }
- }
-
- public static string prototype_db_category_cursor
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_cursor);
- }
- }
-
- public static string prototype_db_category_misc
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_misc);
- }
- }
-
- public static string prototype_db_category_recovery
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_recovery);
- }
- }
-
- public static string prototype_db_category_state
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_category_state);
- }
- }
-
- public static string prototype_db_prop_ansiNullDefault
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_ansiNullDefault);
- }
- }
-
- public static string prototype_db_prop_ansiNulls
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_ansiNulls);
- }
- }
-
- public static string prototype_db_prop_ansiPadding
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_ansiPadding);
- }
- }
-
- public static string prototype_db_prop_ansiWarnings
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_ansiWarnings);
- }
- }
-
- public static string prototype_db_prop_arithabort
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_arithabort);
- }
- }
-
- public static string prototype_db_prop_autoClose
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_autoClose);
- }
- }
-
- public static string prototype_db_prop_autoCreateStatistics
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_autoCreateStatistics);
- }
- }
-
- public static string prototype_db_prop_autoShrink
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_autoShrink);
- }
- }
-
- public static string prototype_db_prop_autoUpdateStatistics
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_autoUpdateStatistics);
- }
- }
-
- public static string prototype_db_prop_autoUpdateStatisticsAsync
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_autoUpdateStatisticsAsync);
- }
- }
-
- public static string prototype_db_prop_caseSensitive
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_caseSensitive);
- }
- }
-
- public static string prototype_db_prop_closeCursorOnCommit
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_closeCursorOnCommit);
- }
- }
-
- public static string prototype_db_prop_collation
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_collation);
- }
- }
-
- public static string prototype_db_prop_concatNullYieldsNull
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_concatNullYieldsNull);
- }
- }
-
- public static string prototype_db_prop_databaseCompatibilityLevel
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseCompatibilityLevel);
- }
- }
-
- public static string prototype_db_prop_databaseState
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState);
- }
- }
-
- public static string prototype_db_prop_defaultCursor
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_defaultCursor);
- }
- }
-
- public static string prototype_db_prop_fullTextIndexing
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_fullTextIndexing);
- }
- }
-
- public static string prototype_db_prop_numericRoundAbort
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_numericRoundAbort);
- }
- }
-
- public static string prototype_db_prop_pageVerify
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_pageVerify);
- }
- }
-
- public static string prototype_db_prop_quotedIdentifier
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_quotedIdentifier);
- }
- }
-
- public static string prototype_db_prop_readOnly
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_readOnly);
- }
- }
-
- public static string prototype_db_prop_recursiveTriggers
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_recursiveTriggers);
- }
- }
-
- public static string prototype_db_prop_restrictAccess
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_restrictAccess);
- }
- }
-
- public static string prototype_db_prop_selectIntoBulkCopy
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_selectIntoBulkCopy);
- }
- }
-
- public static string prototype_db_prop_honorBrokerPriority
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_honorBrokerPriority);
- }
- }
-
- public static string prototype_db_prop_serviceBrokerGuid
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_serviceBrokerGuid);
- }
- }
-
- public static string prototype_db_prop_brokerEnabled
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_brokerEnabled);
- }
- }
-
- public static string prototype_db_prop_truncateLogOnCheckpoint
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_truncateLogOnCheckpoint);
- }
- }
-
- public static string prototype_db_prop_dbChaining
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_dbChaining);
- }
- }
-
- public static string prototype_db_prop_trustworthy
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_trustworthy);
- }
- }
-
- public static string prototype_db_prop_dateCorrelationOptimization
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_dateCorrelationOptimization);
- }
- }
-
- public static string prototype_db_prop_parameterization
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_parameterization);
- }
- }
-
- public static string prototype_db_prop_parameterization_value_forced
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_parameterization_value_forced);
- }
- }
-
- public static string prototype_db_prop_parameterization_value_simple
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_parameterization_value_simple);
- }
- }
-
- public static string prototype_file_dataFile
- {
- get
- {
- return Keys.GetString(Keys.prototype_file_dataFile);
- }
- }
-
- public static string prototype_file_logFile
- {
- get
- {
- return Keys.GetString(Keys.prototype_file_logFile);
- }
- }
-
- public static string prototype_file_filestreamFile
- {
- get
- {
- return Keys.GetString(Keys.prototype_file_filestreamFile);
- }
- }
-
- public static string prototype_file_noFileGroup
- {
- get
- {
- return Keys.GetString(Keys.prototype_file_noFileGroup);
- }
- }
-
- public static string prototype_file_defaultpathstring
- {
- get
- {
- return Keys.GetString(Keys.prototype_file_defaultpathstring);
- }
- }
-
- public static string title_openConnectionsMustBeClosed
- {
- get
- {
- return Keys.GetString(Keys.title_openConnectionsMustBeClosed);
- }
- }
-
- public static string warning_openConnectionsMustBeClosed
- {
- get
- {
- return Keys.GetString(Keys.warning_openConnectionsMustBeClosed);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_autoClosed
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_autoClosed);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_emergency
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_emergency);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_inaccessible
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_inaccessible);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_normal
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_normal);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_offline
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_offline);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_recovering
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_recovering);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_recoveryPending
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_recoveryPending);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_restoring
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_restoring);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_shutdown
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_shutdown);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_standby
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_standby);
- }
- }
-
- public static string prototype_db_prop_databaseState_value_suspect
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databaseState_value_suspect);
- }
- }
-
- public static string prototype_db_prop_defaultCursor_value_global
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_defaultCursor_value_global);
- }
- }
-
- public static string prototype_db_prop_defaultCursor_value_local
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_defaultCursor_value_local);
- }
- }
-
- public static string prototype_db_prop_restrictAccess_value_multiple
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_multiple);
- }
- }
-
- public static string prototype_db_prop_restrictAccess_value_restricted
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_restricted);
- }
- }
-
- public static string prototype_db_prop_restrictAccess_value_single
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_single);
- }
- }
-
- public static string prototype_db_prop_pageVerify_value_checksum
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_checksum);
- }
- }
-
- public static string prototype_db_prop_pageVerify_value_none
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_none);
- }
- }
-
- public static string prototype_db_prop_pageVerify_value_tornPageDetection
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_tornPageDetection);
- }
- }
-
- public static string prototype_db_prop_varDecimalEnabled
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_varDecimalEnabled);
- }
- }
-
- public static string compatibilityLevel_katmai
- {
- get
- {
- return Keys.GetString(Keys.compatibilityLevel_katmai);
- }
- }
-
- public static string prototype_db_prop_encryptionEnabled
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_encryptionEnabled);
- }
- }
-
- public static string prototype_db_prop_databasescopedconfig_value_off
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_off);
- }
- }
-
- public static string prototype_db_prop_databasescopedconfig_value_on
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_on);
- }
- }
-
- public static string prototype_db_prop_databasescopedconfig_value_primary
- {
- get
- {
- return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_primary);
- }
- }
-
- public static string error_db_prop_invalidleadingColumns
- {
- get
- {
- return Keys.GetString(Keys.error_db_prop_invalidleadingColumns);
- }
- }
-
- public static string compatibilityLevel_denali
- {
- get
- {
- return Keys.GetString(Keys.compatibilityLevel_denali);
- }
- }
-
- public static string compatibilityLevel_sql14
- {
- get
- {
- return Keys.GetString(Keys.compatibilityLevel_sql14);
- }
- }
-
- public static string compatibilityLevel_sql15
- {
- get
- {
- return Keys.GetString(Keys.compatibilityLevel_sql15);
- }
- }
-
- public static string compatibilityLevel_sqlvNext
- {
- get
- {
- return Keys.GetString(Keys.compatibilityLevel_sqlvNext);
- }
- }
-
- public static string general_containmentType_None
- {
- get
- {
- return Keys.GetString(Keys.general_containmentType_None);
- }
- }
-
- public static string general_containmentType_Partial
- {
- get
- {
- return Keys.GetString(Keys.general_containmentType_Partial);
- }
- }
-
- public static string filegroups_filestreamFiles
- {
- get
- {
- return Keys.GetString(Keys.filegroups_filestreamFiles);
- }
- }
-
- public static string prototype_file_noApplicableFileGroup
- {
- get
- {
- return Keys.GetString(Keys.prototype_file_noApplicableFileGroup);
- }
- }
-
- public static string NeverBackedUp
- {
- get
- {
- return Keys.GetString(Keys.NeverBackedUp);
- }
- }
-
- public static string Error_InvalidDirectoryName
- {
- get
- {
- return Keys.GetString(Keys.Error_InvalidDirectoryName);
- }
- }
-
- public static string Error_ExistingDirectoryName
- {
- get
- {
- return Keys.GetString(Keys.Error_ExistingDirectoryName);
- }
- }
-
public static string BackupTaskName
{
get
@@ -3677,518 +2557,6 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
- public static string UserCancelledSelectStep
- {
- get
- {
- return Keys.GetString(Keys.UserCancelledSelectStep);
- }
- }
-
- public static string RequestPostedToTargetServers
- {
- get
- {
- return Keys.GetString(Keys.RequestPostedToTargetServers);
- }
- }
-
- public static string Executing
- {
- get
- {
- return Keys.GetString(Keys.Executing);
- }
- }
-
- public static string BetweenRetries
- {
- get
- {
- return Keys.GetString(Keys.BetweenRetries);
- }
- }
-
- public static string Suspended
- {
- get
- {
- return Keys.GetString(Keys.Suspended);
- }
- }
-
- public static string PerformingCompletionAction
- {
- get
- {
- return Keys.GetString(Keys.PerformingCompletionAction);
- }
- }
-
- public static string WaitingForStepToFinish
- {
- get
- {
- return Keys.GetString(Keys.WaitingForStepToFinish);
- }
- }
-
- public static string WaitingForWorkerThread
- {
- get
- {
- return Keys.GetString(Keys.WaitingForWorkerThread);
- }
- }
-
- public static string AllDatabases
- {
- get
- {
- return Keys.GetString(Keys.AllDatabases);
- }
- }
-
- public static string Severity001
- {
- get
- {
- return Keys.GetString(Keys.Severity001);
- }
- }
-
- public static string Severity002
- {
- get
- {
- return Keys.GetString(Keys.Severity002);
- }
- }
-
- public static string Severity003
- {
- get
- {
- return Keys.GetString(Keys.Severity003);
- }
- }
-
- public static string Severity004
- {
- get
- {
- return Keys.GetString(Keys.Severity004);
- }
- }
-
- public static string Severity005
- {
- get
- {
- return Keys.GetString(Keys.Severity005);
- }
- }
-
- public static string Severity006
- {
- get
- {
- return Keys.GetString(Keys.Severity006);
- }
- }
-
- public static string Severity007
- {
- get
- {
- return Keys.GetString(Keys.Severity007);
- }
- }
-
- public static string Severity008
- {
- get
- {
- return Keys.GetString(Keys.Severity008);
- }
- }
-
- public static string Severity009
- {
- get
- {
- return Keys.GetString(Keys.Severity009);
- }
- }
-
- public static string Severity010
- {
- get
- {
- return Keys.GetString(Keys.Severity010);
- }
- }
-
- public static string Severity011
- {
- get
- {
- return Keys.GetString(Keys.Severity011);
- }
- }
-
- public static string Severity012
- {
- get
- {
- return Keys.GetString(Keys.Severity012);
- }
- }
-
- public static string Severity013
- {
- get
- {
- return Keys.GetString(Keys.Severity013);
- }
- }
-
- public static string Severity014
- {
- get
- {
- return Keys.GetString(Keys.Severity014);
- }
- }
-
- public static string Severity015
- {
- get
- {
- return Keys.GetString(Keys.Severity015);
- }
- }
-
- public static string Severity016
- {
- get
- {
- return Keys.GetString(Keys.Severity016);
- }
- }
-
- public static string Severity017
- {
- get
- {
- return Keys.GetString(Keys.Severity017);
- }
- }
-
- public static string Severity018
- {
- get
- {
- return Keys.GetString(Keys.Severity018);
- }
- }
-
- public static string Severity019
- {
- get
- {
- return Keys.GetString(Keys.Severity019);
- }
- }
-
- public static string Severity020
- {
- get
- {
- return Keys.GetString(Keys.Severity020);
- }
- }
-
- public static string Severity021
- {
- get
- {
- return Keys.GetString(Keys.Severity021);
- }
- }
-
- public static string Severity022
- {
- get
- {
- return Keys.GetString(Keys.Severity022);
- }
- }
-
- public static string Severity023
- {
- get
- {
- return Keys.GetString(Keys.Severity023);
- }
- }
-
- public static string Severity024
- {
- get
- {
- return Keys.GetString(Keys.Severity024);
- }
- }
-
- public static string Severity025
- {
- get
- {
- return Keys.GetString(Keys.Severity025);
- }
- }
-
- public static string PagerScheduleMonFri
- {
- get
- {
- return Keys.GetString(Keys.PagerScheduleMonFri);
- }
- }
-
- public static string PagerScheduleSatSun
- {
- get
- {
- return Keys.GetString(Keys.PagerScheduleSatSun);
- }
- }
-
- public static string PagerScheduleWarning
- {
- get
- {
- return Keys.GetString(Keys.PagerScheduleWarning);
- }
- }
-
- public static string General
- {
- get
- {
- return Keys.GetString(Keys.General);
- }
- }
-
- public static string Notifications
- {
- get
- {
- return Keys.GetString(Keys.Notifications);
- }
- }
-
- public static string History
- {
- get
- {
- return Keys.GetString(Keys.History);
- }
- }
-
- public static string Day
- {
- get
- {
- return Keys.GetString(Keys.Day);
- }
- }
-
- public static string StartTime
- {
- get
- {
- return Keys.GetString(Keys.StartTime);
- }
- }
-
- public static string EndTime
- {
- get
- {
- return Keys.GetString(Keys.EndTime);
- }
- }
-
- public static string ColumnIndexIsInvalid
- {
- get
- {
- return Keys.GetString(Keys.ColumnIndexIsInvalid);
- }
- }
-
- public static string RowIndexIsInvalid
- {
- get
- {
- return Keys.GetString(Keys.RowIndexIsInvalid);
- }
- }
-
- public static string NewOperatorProperties
- {
- get
- {
- return Keys.GetString(Keys.NewOperatorProperties);
- }
- }
-
- public static string FailedToCreateInitializeAgentOperatorDialog
- {
- get
- {
- return Keys.GetString(Keys.FailedToCreateInitializeAgentOperatorDialog);
- }
- }
-
- public static string JobServerIsNotAvailable
- {
- get
- {
- return Keys.GetString(Keys.JobServerIsNotAvailable);
- }
- }
-
- public static string CannotCreateInitializeGeneralPage
- {
- get
- {
- return Keys.GetString(Keys.CannotCreateInitializeGeneralPage);
- }
- }
-
- public static string CannotCreateInitializeNotificationsPage
- {
- get
- {
- return Keys.GetString(Keys.CannotCreateInitializeNotificationsPage);
- }
- }
-
- public static string CannotCreateInitializeHistoryPage
- {
- get
- {
- return Keys.GetString(Keys.CannotCreateInitializeHistoryPage);
- }
- }
-
- public static string CannotResetOperator
- {
- get
- {
- return Keys.GetString(Keys.CannotResetOperator);
- }
- }
-
- public static string AlertList
- {
- get
- {
- return Keys.GetString(Keys.AlertList);
- }
- }
-
- public static string JobList
- {
- get
- {
- return Keys.GetString(Keys.JobList);
- }
- }
-
- public static string Email
- {
- get
- {
- return Keys.GetString(Keys.Email);
- }
- }
-
- public static string Pager
- {
- get
- {
- return Keys.GetString(Keys.Pager);
- }
- }
-
- public static string AlertName
- {
- get
- {
- return Keys.GetString(Keys.AlertName);
- }
- }
-
- public static string JobName
- {
- get
- {
- return Keys.GetString(Keys.JobName);
- }
- }
-
- public static string Always
- {
- get
- {
- return Keys.GetString(Keys.Always);
- }
- }
-
- public static string Never
- {
- get
- {
- return Keys.GetString(Keys.Never);
- }
- }
-
- public static string OnFailure
- {
- get
- {
- return Keys.GetString(Keys.OnFailure);
- }
- }
-
- public static string OnSuccess
- {
- get
- {
- return Keys.GetString(Keys.OnSuccess);
- }
- }
-
- public static string CannotModifyAlerts
- {
- get
- {
- return Keys.GetString(Keys.CannotModifyAlerts);
- }
- }
-
- public static string CannotCreateScriptForModifyAlerts
- {
- get
- {
- return Keys.GetString(Keys.CannotCreateScriptForModifyAlerts);
- }
- }
-
public static string CategoryLocal
{
get
@@ -4469,6 +2837,38 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
+ public static string JobServerIsNotAvailable
+ {
+ get
+ {
+ return Keys.GetString(Keys.JobServerIsNotAvailable);
+ }
+ }
+
+ public static string NeverBackedUp
+ {
+ get
+ {
+ return Keys.GetString(Keys.NeverBackedUp);
+ }
+ }
+
+ public static string Error_InvalidDirectoryName
+ {
+ get
+ {
+ return Keys.GetString(Keys.Error_InvalidDirectoryName);
+ }
+ }
+
+ public static string Error_ExistingDirectoryName
+ {
+ get
+ {
+ return Keys.GetString(Keys.Error_ExistingDirectoryName);
+ }
+ }
+
public static string ConnectionServiceListDbErrorNotConnected(string uri)
{
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
@@ -4584,151 +2984,6 @@ namespace Microsoft.SqlTools.ServiceLayer
return Keys.GetString(Keys.SessionAlreadyExists, sessionName);
}
- public static string EnableAlertsTitle(String serverName)
- {
- return Keys.GetString(Keys.EnableAlertsTitle, serverName);
- }
-
- public static string EnableAlertDescription(String alertName)
- {
- return Keys.GetString(Keys.EnableAlertDescription, alertName);
- }
-
- public static string EnablingAlert(String alertName)
- {
- return Keys.GetString(Keys.EnablingAlert, alertName);
- }
-
- public static string EnabledAlert(String alertName)
- {
- return Keys.GetString(Keys.EnabledAlert, alertName);
- }
-
- public static string DisableAlertsTitle(String serverName)
- {
- return Keys.GetString(Keys.DisableAlertsTitle, serverName);
- }
-
- public static string DisableAlertDescription(String alertName)
- {
- return Keys.GetString(Keys.DisableAlertDescription, alertName);
- }
-
- public static string DisablingAlert(String alertName)
- {
- return Keys.GetString(Keys.DisablingAlert, alertName);
- }
-
- public static string DisabledAlert(String alertName)
- {
- return Keys.GetString(Keys.DisabledAlert, alertName);
- }
-
- public static string EnableJobsTitle(String serverName)
- {
- return Keys.GetString(Keys.EnableJobsTitle, serverName);
- }
-
- public static string EnableJobDescription(String jobName)
- {
- return Keys.GetString(Keys.EnableJobDescription, jobName);
- }
-
- public static string EnablingJob(String jobName)
- {
- return Keys.GetString(Keys.EnablingJob, jobName);
- }
-
- public static string EnabledJob(String jobName)
- {
- return Keys.GetString(Keys.EnabledJob, jobName);
- }
-
- public static string DisableJobsTitle(String serverName)
- {
- return Keys.GetString(Keys.DisableJobsTitle, serverName);
- }
-
- public static string DisableJobDescription(String jobName)
- {
- return Keys.GetString(Keys.DisableJobDescription, jobName);
- }
-
- public static string DisablingJob(String jobName)
- {
- return Keys.GetString(Keys.DisablingJob, jobName);
- }
-
- public static string DisabledJob(String jobName)
- {
- return Keys.GetString(Keys.DisabledJob, jobName);
- }
-
- public static string StartJobsTitle(String serverName)
- {
- return Keys.GetString(Keys.StartJobsTitle, serverName);
- }
-
- public static string StartJobDescription(String jobName)
- {
- return Keys.GetString(Keys.StartJobDescription, jobName);
- }
-
- public static string GettingStartStep(String jobName)
- {
- return Keys.GetString(Keys.GettingStartStep, jobName);
- }
-
- public static string StartingJob(String jobName)
- {
- return Keys.GetString(Keys.StartingJob, jobName);
- }
-
- public static string StartJobWithStep(String jobName, String stepName)
- {
- return Keys.GetString(Keys.StartJobWithStep, jobName, stepName);
- }
-
- public static string ExecuteJob(string jobName)
- {
- return Keys.GetString(Keys.ExecuteJob, jobName);
- }
-
- public static string JobFailed(string jobName)
- {
- return Keys.GetString(Keys.JobFailed, jobName);
- }
-
- public static string StopJobsTitle(String serverName)
- {
- return Keys.GetString(Keys.StopJobsTitle, serverName);
- }
-
- public static string StopJobDescription(String jobName)
- {
- return Keys.GetString(Keys.StopJobDescription, jobName);
- }
-
- public static string StoppingJob(String jobName)
- {
- return Keys.GetString(Keys.StoppingJob, jobName);
- }
-
- public static string StoppedJob(String jobName)
- {
- return Keys.GetString(Keys.StoppedJob, jobName);
- }
-
- public static string UnknownSeverity(int severity)
- {
- return Keys.GetString(Keys.UnknownSeverity, severity);
- }
-
- public static string OperatorProperties(string operatorName)
- {
- return Keys.GetString(Keys.OperatorProperties, operatorName);
- }
-
public static string UnknownSizeUnit(string unit)
{
return Keys.GetString(Keys.UnknownSizeUnit, unit);
@@ -5066,93 +3321,18 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string EditDataIncorrectTable = "EditDataIncorrectTable";
- public const string EE_BatchSqlMessageNoProcedureInfo = "EE_BatchSqlMessageNoProcedureInfo";
-
-
- public const string EE_BatchSqlMessageWithProcedureInfo = "EE_BatchSqlMessageWithProcedureInfo";
-
-
- public const string EE_BatchSqlMessageNoLineInfo = "EE_BatchSqlMessageNoLineInfo";
-
-
- public const string EE_BatchError_Exception = "EE_BatchError_Exception";
-
-
- public const string EE_BatchExecutionInfo_RowsAffected = "EE_BatchExecutionInfo_RowsAffected";
-
-
- public const string EE_ExecutionNotYetCompleteError = "EE_ExecutionNotYetCompleteError";
-
-
- public const string EE_ScriptError_Error = "EE_ScriptError_Error";
-
-
- public const string EE_ScriptError_ParsingSyntax = "EE_ScriptError_ParsingSyntax";
-
-
- public const string EE_ScriptError_FatalError = "EE_ScriptError_FatalError";
-
-
- public const string EE_ExecutionInfo_FinalizingLoop = "EE_ExecutionInfo_FinalizingLoop";
-
-
- public const string EE_ExecutionInfo_QueryCancelledbyUser = "EE_ExecutionInfo_QueryCancelledbyUser";
-
-
- public const string EE_BatchExecutionError_Halting = "EE_BatchExecutionError_Halting";
+ public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop";
public const string EE_BatchExecutionError_Ignoring = "EE_BatchExecutionError_Ignoring";
- public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop";
-
-
- public const string EE_ExecutionError_CommandNotSupported = "EE_ExecutionError_CommandNotSupported";
-
-
- public const string EE_ExecutionError_VariableNotFound = "EE_ExecutionError_VariableNotFound";
-
-
- public const string BatchParserWrapperExecutionEngineError = "BatchParserWrapperExecutionEngineError";
+ public const string EE_ExecutionInfo_FinalizingLoop = "EE_ExecutionInfo_FinalizingLoop";
public const string BatchParserWrapperExecutionError = "BatchParserWrapperExecutionError";
- public const string BatchParserWrapperExecutionEngineBatchMessage = "BatchParserWrapperExecutionEngineBatchMessage";
-
-
- public const string BatchParserWrapperExecutionEngineBatchResultSetProcessing = "BatchParserWrapperExecutionEngineBatchResultSetProcessing";
-
-
- public const string BatchParserWrapperExecutionEngineBatchResultSetFinished = "BatchParserWrapperExecutionEngineBatchResultSetFinished";
-
-
- public const string BatchParserWrapperExecutionEngineBatchCancelling = "BatchParserWrapperExecutionEngineBatchCancelling";
-
-
- public const string EE_ScriptError_Warning = "EE_ScriptError_Warning";
-
-
- public const string TroubleshootingAssistanceMessage = "TroubleshootingAssistanceMessage";
-
-
- public const string BatchParser_CircularReference = "BatchParser_CircularReference";
-
-
- public const string BatchParser_CommentNotTerminated = "BatchParser_CommentNotTerminated";
-
-
- public const string BatchParser_StringNotTerminated = "BatchParser_StringNotTerminated";
-
-
- public const string BatchParser_IncorrectSyntax = "BatchParser_IncorrectSyntax";
-
-
- public const string BatchParser_VariableNotDefined = "BatchParser_VariableNotDefined";
-
-
public const string TestLocalizationConstant = "TestLocalizationConstant";
@@ -5747,351 +3927,6 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string ScriptingExecuteNotSupportedError = "ScriptingExecuteNotSupportedError";
- public const string unavailable = "unavailable";
-
-
- public const string filegroup_dialog_defaultFilegroup = "filegroup_dialog_defaultFilegroup";
-
-
- public const string filegroup_dialog_title = "filegroup_dialog_title";
-
-
- public const string filegroups_default = "filegroups_default";
-
-
- public const string filegroups_files = "filegroups_files";
-
-
- public const string filegroups_name = "filegroups_name";
-
-
- public const string filegroups_readonly = "filegroups_readonly";
-
-
- public const string general_autogrowth = "general_autogrowth";
-
-
- public const string general_builderText = "general_builderText";
-
-
- public const string general_default = "general_default";
-
-
- public const string general_fileGroup = "general_fileGroup";
-
-
- public const string general_fileName = "general_fileName";
-
-
- public const string general_fileType = "general_fileType";
-
-
- public const string general_initialSize = "general_initialSize";
-
-
- public const string general_newFilegroup = "general_newFilegroup";
-
-
- public const string general_path = "general_path";
-
-
- public const string general_physicalFileName = "general_physicalFileName";
-
-
- public const string general_rawDevice = "general_rawDevice";
-
-
- public const string general_recoveryModel_bulkLogged = "general_recoveryModel_bulkLogged";
-
-
- public const string general_recoveryModel_full = "general_recoveryModel_full";
-
-
- public const string general_recoveryModel_simple = "general_recoveryModel_simple";
-
-
- public const string general_titleSearchOwner = "general_titleSearchOwner";
-
-
- public const string prototype_autogrowth_disabled = "prototype_autogrowth_disabled";
-
-
- public const string prototype_autogrowth_restrictedGrowthByMB = "prototype_autogrowth_restrictedGrowthByMB";
-
-
- public const string prototype_autogrowth_restrictedGrowthByPercent = "prototype_autogrowth_restrictedGrowthByPercent";
-
-
- public const string prototype_autogrowth_unrestrictedGrowthByMB = "prototype_autogrowth_unrestrictedGrowthByMB";
-
-
- public const string prototype_autogrowth_unrestrictedGrowthByPercent = "prototype_autogrowth_unrestrictedGrowthByPercent";
-
-
- public const string prototype_autogrowth_unlimitedfilestream = "prototype_autogrowth_unlimitedfilestream";
-
-
- public const string prototype_autogrowth_limitedfilestream = "prototype_autogrowth_limitedfilestream";
-
-
- public const string prototype_db_category_automatic = "prototype_db_category_automatic";
-
-
- public const string prototype_db_category_servicebroker = "prototype_db_category_servicebroker";
-
-
- public const string prototype_db_category_collation = "prototype_db_category_collation";
-
-
- public const string prototype_db_category_cursor = "prototype_db_category_cursor";
-
-
- public const string prototype_db_category_misc = "prototype_db_category_misc";
-
-
- public const string prototype_db_category_recovery = "prototype_db_category_recovery";
-
-
- public const string prototype_db_category_state = "prototype_db_category_state";
-
-
- public const string prototype_db_prop_ansiNullDefault = "prototype_db_prop_ansiNullDefault";
-
-
- public const string prototype_db_prop_ansiNulls = "prototype_db_prop_ansiNulls";
-
-
- public const string prototype_db_prop_ansiPadding = "prototype_db_prop_ansiPadding";
-
-
- public const string prototype_db_prop_ansiWarnings = "prototype_db_prop_ansiWarnings";
-
-
- public const string prototype_db_prop_arithabort = "prototype_db_prop_arithabort";
-
-
- public const string prototype_db_prop_autoClose = "prototype_db_prop_autoClose";
-
-
- public const string prototype_db_prop_autoCreateStatistics = "prototype_db_prop_autoCreateStatistics";
-
-
- public const string prototype_db_prop_autoShrink = "prototype_db_prop_autoShrink";
-
-
- public const string prototype_db_prop_autoUpdateStatistics = "prototype_db_prop_autoUpdateStatistics";
-
-
- public const string prototype_db_prop_autoUpdateStatisticsAsync = "prototype_db_prop_autoUpdateStatisticsAsync";
-
-
- public const string prototype_db_prop_caseSensitive = "prototype_db_prop_caseSensitive";
-
-
- public const string prototype_db_prop_closeCursorOnCommit = "prototype_db_prop_closeCursorOnCommit";
-
-
- public const string prototype_db_prop_collation = "prototype_db_prop_collation";
-
-
- public const string prototype_db_prop_concatNullYieldsNull = "prototype_db_prop_concatNullYieldsNull";
-
-
- public const string prototype_db_prop_databaseCompatibilityLevel = "prototype_db_prop_databaseCompatibilityLevel";
-
-
- public const string prototype_db_prop_databaseState = "prototype_db_prop_databaseState";
-
-
- public const string prototype_db_prop_defaultCursor = "prototype_db_prop_defaultCursor";
-
-
- public const string prototype_db_prop_fullTextIndexing = "prototype_db_prop_fullTextIndexing";
-
-
- public const string prototype_db_prop_numericRoundAbort = "prototype_db_prop_numericRoundAbort";
-
-
- public const string prototype_db_prop_pageVerify = "prototype_db_prop_pageVerify";
-
-
- public const string prototype_db_prop_quotedIdentifier = "prototype_db_prop_quotedIdentifier";
-
-
- public const string prototype_db_prop_readOnly = "prototype_db_prop_readOnly";
-
-
- public const string prototype_db_prop_recursiveTriggers = "prototype_db_prop_recursiveTriggers";
-
-
- public const string prototype_db_prop_restrictAccess = "prototype_db_prop_restrictAccess";
-
-
- public const string prototype_db_prop_selectIntoBulkCopy = "prototype_db_prop_selectIntoBulkCopy";
-
-
- public const string prototype_db_prop_honorBrokerPriority = "prototype_db_prop_honorBrokerPriority";
-
-
- public const string prototype_db_prop_serviceBrokerGuid = "prototype_db_prop_serviceBrokerGuid";
-
-
- public const string prototype_db_prop_brokerEnabled = "prototype_db_prop_brokerEnabled";
-
-
- public const string prototype_db_prop_truncateLogOnCheckpoint = "prototype_db_prop_truncateLogOnCheckpoint";
-
-
- public const string prototype_db_prop_dbChaining = "prototype_db_prop_dbChaining";
-
-
- public const string prototype_db_prop_trustworthy = "prototype_db_prop_trustworthy";
-
-
- public const string prototype_db_prop_dateCorrelationOptimization = "prototype_db_prop_dateCorrelationOptimization";
-
-
- public const string prototype_db_prop_parameterization = "prototype_db_prop_parameterization";
-
-
- public const string prototype_db_prop_parameterization_value_forced = "prototype_db_prop_parameterization_value_forced";
-
-
- public const string prototype_db_prop_parameterization_value_simple = "prototype_db_prop_parameterization_value_simple";
-
-
- public const string prototype_file_dataFile = "prototype_file_dataFile";
-
-
- public const string prototype_file_logFile = "prototype_file_logFile";
-
-
- public const string prototype_file_filestreamFile = "prototype_file_filestreamFile";
-
-
- public const string prototype_file_noFileGroup = "prototype_file_noFileGroup";
-
-
- public const string prototype_file_defaultpathstring = "prototype_file_defaultpathstring";
-
-
- public const string title_openConnectionsMustBeClosed = "title_openConnectionsMustBeClosed";
-
-
- public const string warning_openConnectionsMustBeClosed = "warning_openConnectionsMustBeClosed";
-
-
- public const string prototype_db_prop_databaseState_value_autoClosed = "prototype_db_prop_databaseState_value_autoClosed";
-
-
- public const string prototype_db_prop_databaseState_value_emergency = "prototype_db_prop_databaseState_value_emergency";
-
-
- public const string prototype_db_prop_databaseState_value_inaccessible = "prototype_db_prop_databaseState_value_inaccessible";
-
-
- public const string prototype_db_prop_databaseState_value_normal = "prototype_db_prop_databaseState_value_normal";
-
-
- public const string prototype_db_prop_databaseState_value_offline = "prototype_db_prop_databaseState_value_offline";
-
-
- public const string prototype_db_prop_databaseState_value_recovering = "prototype_db_prop_databaseState_value_recovering";
-
-
- public const string prototype_db_prop_databaseState_value_recoveryPending = "prototype_db_prop_databaseState_value_recoveryPending";
-
-
- public const string prototype_db_prop_databaseState_value_restoring = "prototype_db_prop_databaseState_value_restoring";
-
-
- public const string prototype_db_prop_databaseState_value_shutdown = "prototype_db_prop_databaseState_value_shutdown";
-
-
- public const string prototype_db_prop_databaseState_value_standby = "prototype_db_prop_databaseState_value_standby";
-
-
- public const string prototype_db_prop_databaseState_value_suspect = "prototype_db_prop_databaseState_value_suspect";
-
-
- public const string prototype_db_prop_defaultCursor_value_global = "prototype_db_prop_defaultCursor_value_global";
-
-
- public const string prototype_db_prop_defaultCursor_value_local = "prototype_db_prop_defaultCursor_value_local";
-
-
- public const string prototype_db_prop_restrictAccess_value_multiple = "prototype_db_prop_restrictAccess_value_multiple";
-
-
- public const string prototype_db_prop_restrictAccess_value_restricted = "prototype_db_prop_restrictAccess_value_restricted";
-
-
- public const string prototype_db_prop_restrictAccess_value_single = "prototype_db_prop_restrictAccess_value_single";
-
-
- public const string prototype_db_prop_pageVerify_value_checksum = "prototype_db_prop_pageVerify_value_checksum";
-
-
- public const string prototype_db_prop_pageVerify_value_none = "prototype_db_prop_pageVerify_value_none";
-
-
- public const string prototype_db_prop_pageVerify_value_tornPageDetection = "prototype_db_prop_pageVerify_value_tornPageDetection";
-
-
- public const string prototype_db_prop_varDecimalEnabled = "prototype_db_prop_varDecimalEnabled";
-
-
- public const string compatibilityLevel_katmai = "compatibilityLevel_katmai";
-
-
- public const string prototype_db_prop_encryptionEnabled = "prototype_db_prop_encryptionEnabled";
-
-
- public const string prototype_db_prop_databasescopedconfig_value_off = "prototype_db_prop_databasescopedconfig_value_off";
-
-
- public const string prototype_db_prop_databasescopedconfig_value_on = "prototype_db_prop_databasescopedconfig_value_on";
-
-
- public const string prototype_db_prop_databasescopedconfig_value_primary = "prototype_db_prop_databasescopedconfig_value_primary";
-
-
- public const string error_db_prop_invalidleadingColumns = "error_db_prop_invalidleadingColumns";
-
-
- public const string compatibilityLevel_denali = "compatibilityLevel_denali";
-
-
- public const string compatibilityLevel_sql14 = "compatibilityLevel_sql14";
-
-
- public const string compatibilityLevel_sql15 = "compatibilityLevel_sql15";
-
-
- public const string compatibilityLevel_sqlvNext = "compatibilityLevel_sqlvNext";
-
-
- public const string general_containmentType_None = "general_containmentType_None";
-
-
- public const string general_containmentType_Partial = "general_containmentType_Partial";
-
-
- public const string filegroups_filestreamFiles = "filegroups_filestreamFiles";
-
-
- public const string prototype_file_noApplicableFileGroup = "prototype_file_noApplicableFileGroup";
-
-
- public const string NeverBackedUp = "NeverBackedUp";
-
-
- public const string Error_InvalidDirectoryName = "Error_InvalidDirectoryName";
-
-
- public const string Error_ExistingDirectoryName = "Error_ExistingDirectoryName";
-
-
public const string BackupTaskName = "BackupTaskName";
@@ -6209,285 +4044,6 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string SessionAlreadyExists = "SessionAlreadyExists";
- public const string EnableAlertsTitle = "EnableAlertsTitle";
-
-
- public const string EnableAlertDescription = "EnableAlertDescription";
-
-
- public const string EnablingAlert = "EnablingAlert";
-
-
- public const string EnabledAlert = "EnabledAlert";
-
-
- public const string DisableAlertsTitle = "DisableAlertsTitle";
-
-
- public const string DisableAlertDescription = "DisableAlertDescription";
-
-
- public const string DisablingAlert = "DisablingAlert";
-
-
- public const string DisabledAlert = "DisabledAlert";
-
-
- public const string EnableJobsTitle = "EnableJobsTitle";
-
-
- public const string EnableJobDescription = "EnableJobDescription";
-
-
- public const string EnablingJob = "EnablingJob";
-
-
- public const string EnabledJob = "EnabledJob";
-
-
- public const string DisableJobsTitle = "DisableJobsTitle";
-
-
- public const string DisableJobDescription = "DisableJobDescription";
-
-
- public const string DisablingJob = "DisablingJob";
-
-
- public const string DisabledJob = "DisabledJob";
-
-
- public const string StartJobsTitle = "StartJobsTitle";
-
-
- public const string StartJobDescription = "StartJobDescription";
-
-
- public const string GettingStartStep = "GettingStartStep";
-
-
- public const string UserCancelledSelectStep = "UserCancelledSelectStep";
-
-
- public const string StartingJob = "StartingJob";
-
-
- public const string StartJobWithStep = "StartJobWithStep";
-
-
- public const string RequestPostedToTargetServers = "RequestPostedToTargetServers";
-
-
- public const string ExecuteJob = "ExecuteJob";
-
-
- public const string JobFailed = "JobFailed";
-
-
- public const string Executing = "Executing";
-
-
- public const string BetweenRetries = "BetweenRetries";
-
-
- public const string Suspended = "Suspended";
-
-
- public const string PerformingCompletionAction = "PerformingCompletionAction";
-
-
- public const string WaitingForStepToFinish = "WaitingForStepToFinish";
-
-
- public const string WaitingForWorkerThread = "WaitingForWorkerThread";
-
-
- public const string StopJobsTitle = "StopJobsTitle";
-
-
- public const string StopJobDescription = "StopJobDescription";
-
-
- public const string StoppingJob = "StoppingJob";
-
-
- public const string StoppedJob = "StoppedJob";
-
-
- public const string AllDatabases = "AllDatabases";
-
-
- public const string UnknownSeverity = "UnknownSeverity";
-
-
- public const string Severity001 = "Severity001";
-
-
- public const string Severity002 = "Severity002";
-
-
- public const string Severity003 = "Severity003";
-
-
- public const string Severity004 = "Severity004";
-
-
- public const string Severity005 = "Severity005";
-
-
- public const string Severity006 = "Severity006";
-
-
- public const string Severity007 = "Severity007";
-
-
- public const string Severity008 = "Severity008";
-
-
- public const string Severity009 = "Severity009";
-
-
- public const string Severity010 = "Severity010";
-
-
- public const string Severity011 = "Severity011";
-
-
- public const string Severity012 = "Severity012";
-
-
- public const string Severity013 = "Severity013";
-
-
- public const string Severity014 = "Severity014";
-
-
- public const string Severity015 = "Severity015";
-
-
- public const string Severity016 = "Severity016";
-
-
- public const string Severity017 = "Severity017";
-
-
- public const string Severity018 = "Severity018";
-
-
- public const string Severity019 = "Severity019";
-
-
- public const string Severity020 = "Severity020";
-
-
- public const string Severity021 = "Severity021";
-
-
- public const string Severity022 = "Severity022";
-
-
- public const string Severity023 = "Severity023";
-
-
- public const string Severity024 = "Severity024";
-
-
- public const string Severity025 = "Severity025";
-
-
- public const string PagerScheduleMonFri = "PagerScheduleMonFri";
-
-
- public const string PagerScheduleSatSun = "PagerScheduleSatSun";
-
-
- public const string PagerScheduleWarning = "PagerScheduleWarning";
-
-
- public const string General = "General";
-
-
- public const string Notifications = "Notifications";
-
-
- public const string History = "History";
-
-
- public const string Day = "Day";
-
-
- public const string StartTime = "StartTime";
-
-
- public const string EndTime = "EndTime";
-
-
- public const string ColumnIndexIsInvalid = "ColumnIndexIsInvalid";
-
-
- public const string RowIndexIsInvalid = "RowIndexIsInvalid";
-
-
- public const string NewOperatorProperties = "NewOperatorProperties";
-
-
- public const string OperatorProperties = "OperatorProperties";
-
-
- public const string FailedToCreateInitializeAgentOperatorDialog = "FailedToCreateInitializeAgentOperatorDialog";
-
-
- public const string JobServerIsNotAvailable = "JobServerIsNotAvailable";
-
-
- public const string CannotCreateInitializeGeneralPage = "CannotCreateInitializeGeneralPage";
-
-
- public const string CannotCreateInitializeNotificationsPage = "CannotCreateInitializeNotificationsPage";
-
-
- public const string CannotCreateInitializeHistoryPage = "CannotCreateInitializeHistoryPage";
-
-
- public const string CannotResetOperator = "CannotResetOperator";
-
-
- public const string AlertList = "AlertList";
-
-
- public const string JobList = "JobList";
-
-
- public const string Email = "Email";
-
-
- public const string Pager = "Pager";
-
-
- public const string AlertName = "AlertName";
-
-
- public const string JobName = "JobName";
-
-
- public const string Always = "Always";
-
-
- public const string Never = "Never";
-
-
- public const string OnFailure = "OnFailure";
-
-
- public const string OnSuccess = "OnSuccess";
-
-
- public const string CannotModifyAlerts = "CannotModifyAlerts";
-
-
- public const string CannotCreateScriptForModifyAlerts = "CannotCreateScriptForModifyAlerts";
-
-
public const string CategoryLocal = "CategoryLocal";
@@ -6614,6 +4170,18 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string ScheduleNameAlreadyExists = "ScheduleNameAlreadyExists";
+ public const string JobServerIsNotAvailable = "JobServerIsNotAvailable";
+
+
+ public const string NeverBackedUp = "NeverBackedUp";
+
+
+ public const string Error_InvalidDirectoryName = "Error_InvalidDirectoryName";
+
+
+ public const string Error_ExistingDirectoryName = "Error_ExistingDirectoryName";
+
+
private Keys()
{ }
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
index a8e68a33..2d48d7b1 100755
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
@@ -527,122 +527,22 @@
.
Parameters: 0 - tableName (string)
-
- Msg {0}, Level {1}, State {2}, Line {3}
-
-
-
- Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
-
-
-
- Msg {0}, Level {1}, State {2}
-
-
-
- An error occurred while the batch was being processed. The error message is: {0}
-
-
-
- ({0} row(s) affected)
-
-
-
- The previous execution is not yet complete.
-
-
-
- A scripting error occurred.
-
-
-
- Incorrect syntax was encountered while {0} was being parsed.
-
-
-
- A fatal error occurred.
-
-
-
- Batch execution completed {0} times...
-
-
-
- You cancelled the query.
-
-
-
- An error occurred while the batch was being executed.
+
+ Beginning execution loop
An error occurred while the batch was being executed, but the error has been ignored.
-
- Beginning execution loop
-
-
-
- Command {0} is not supported.
-
-
-
- The variable {0} could not be found.
-
-
-
- SQL Execution error: {0}
+
+ Batch execution completed {0} times...
Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
-
- Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
-
-
-
- Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
-
-
-
- Batch parser wrapper execution engine batch ResultSet finished.
-
-
-
- Canceling batch parser wrapper batch execution.
-
-
-
- Scripting warning.
-
-
-
- For more information about this error, see the troubleshooting topics in the product documentation.
-
-
-
- File '{0}' recursively included.
-
-
-
- Missing end comment mark '*/'.
-
-
-
- Unclosed quotation mark after the character string.
-
-
-
- Incorrect syntax was encountered while parsing '{0}'.
-
-
-
- Variable {0} is not defined.
-
-
test
@@ -1435,466 +1335,6 @@
Scripting as Execute is only supported for Stored Procedures
-
- Unavailable
-
-
-
- Current default filegroup: {0}
-
-
-
- New Filegroup for {0}
-
-
-
- Default
-
-
-
- Files
-
-
-
- Name
-
-
-
- Read-Only
-
-
-
- Autogrowth / Maxsize
-
-
-
- ...
-
-
-
- <default>
-
-
-
- Filegroup
-
-
-
- Logical Name
-
-
-
- File Type
-
-
-
- Initial Size (MB)
-
-
-
- <new filegroup>
-
-
-
- Path
-
-
-
- File Name
-
-
-
- <raw device>
-
-
-
- Bulk-logged
-
-
-
- Full
-
-
-
- Simple
-
-
-
- Select Database Owner
-
-
-
- None
-
-
-
- By {0} MB, Limited to {1} MB
-
-
-
- By {0} percent, Limited to {1} MB
-
-
-
- By {0} MB, Unlimited
-
-
-
- By {0} percent, Unlimited
-
-
-
- Unlimited
-
-
-
- Limited to {0} MB
-
-
-
- Automatic
-
-
-
- Service Broker
-
-
-
- Collation
-
-
-
- Cursor
-
-
-
- Miscellaneous
-
-
-
- Recovery
-
-
-
- State
-
-
-
- ANSI NULL Default
-
-
-
- ANSI NULLS Enabled
-
-
-
- ANSI Padding Enabled
-
-
-
- ANSI Warnings Enabled
-
-
-
- Arithmetic Abort Enabled
-
-
-
- Auto Close
-
-
-
- Auto Create Statistics
-
-
-
- Auto Shrink
-
-
-
- Auto Update Statistics
-
-
-
- Auto Update Statistics Asynchronously
-
-
-
- Case Sensitive
-
-
-
- Close Cursor on Commit Enabled
-
-
-
- Collation
-
-
-
- Concatenate Null Yields Null
-
-
-
- Database Compatibility Level
-
-
-
- Database State
-
-
-
- Default Cursor
-
-
-
- Full-Text Indexing Enabled
-
-
-
- Numeric Round-Abort
-
-
-
- Page Verify
-
-
-
- Quoted Identifiers Enabled
-
-
-
- Database Read-Only
-
-
-
- Recursive Triggers Enabled
-
-
-
- Restrict Access
-
-
-
- Select Into/Bulk Copy
-
-
-
- Honor Broker Priority
-
-
-
- Service Broker Identifier
-
-
-
- Broker Enabled
-
-
-
- Truncate Log on Checkpoint
-
-
-
- Cross-database Ownership Chaining Enabled
-
-
-
- Trustworthy
-
-
-
- Date Correlation Optimization Enabled
-
-
-
- Parameterization
-
-
-
- Forced
-
-
-
- Simple
-
-
-
- ROWS Data
-
-
-
- LOG
-
-
-
- FILESTREAM Data
-
-
-
- Not Applicable
-
-
-
- <default path>
-
-
-
- Open Connections
-
-
-
- To change the database properties, SQL Server must close all other connections to the database_ Are you sure you want to change the properties and close all other connections?
-
-
-
- AUTO_CLOSED
-
-
-
- EMERGENCY
-
-
-
- INACCESSIBLE
-
-
-
- NORMAL
-
-
-
- OFFLINE
-
-
-
- RECOVERING
-
-
-
- RECOVERY PENDING
-
-
-
- RESTORING
-
-
-
- SHUTDOWN
-
-
-
- STANDBY
-
-
-
- SUSPECT
-
-
-
- GLOBAL
-
-
-
- LOCAL
-
-
-
- MULTI_USER
-
-
-
- RESTRICTED_USER
-
-
-
- SINGLE_USER
-
-
-
- CHECKSUM
-
-
-
- NONE
-
-
-
- TORN_PAGE_DETECTION
-
-
-
- VarDecimal Storage Format Enabled
-
-
-
- SQL Server 2008 (100)
-
-
-
- Encryption Enabled
-
-
-
- OFF
-
-
-
- ON
-
-
-
- PRIMARY
-
-
-
- For the distribution policy HASH, the number of leading hash columns is optional but should be from 1 to 16 columns
-
-
-
- SQL Server 2012 (110)
-
-
-
- SQL Server 2014 (120)
-
-
-
- SQL Server 2016 (130)
-
-
-
- SQL Server vNext (140)
-
-
-
- None
-
-
-
- Partial
-
-
-
- FILESTREAM Files
-
-
-
- No Applicable Filegroup
-
-
-
- Never
-
-
-
- Path {0} is not a valid directory
-
-
-
- For directory {0} a file with name {1} already exists
-
-
Backup Database
@@ -2056,407 +1496,6 @@
.
Parameters: 0 - sessionName (String)
-
- Enable Alerts - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Enable Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Enabling Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Enabled Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Disable Alerts - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Disable Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Disabling Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Disabled Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Enable Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Enable Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Enabling Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Enabled Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Disable Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Disable Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Disabling Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Disabled Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Start Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Start Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Job '{0}' has more than one step. Getting step to start
- .
- Parameters: 0 - jobName (String)
-
-
- User canceled select step. Job will not be started
-
-
-
- Starting Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Start Job '{0}' with step '{1}'
- .
- Parameters: 0 - jobName (String), 1 - stepName (String)
-
-
- Posted remote job execution request
-
-
-
- Execute job '{0}'
- .
- Parameters: 0 - jobName (string)
-
-
- Execution of job '{0}' failed. See the history log for details.
- .
- Parameters: 0 - jobName (string)
-
-
- Executing
-
-
-
- Between retries
-
-
-
- Suspended
-
-
-
- Performing completion action
-
-
-
- Waiting for step to finish
-
-
-
- Waiting for worker thread
-
-
-
- Stop Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Stop Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Stopping Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Stopped Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- <all databases>
- First item in database name drop down list
-
-
- Unknown severity: {0}
- Exception thrown when agent alert has unknown severity level.
- Parameters: 0 - severity (int)
-
-
- 001 - Miscellaneous System Information
-
-
-
- 002 - Reserved
-
-
-
- 003 - Reserved
-
-
-
- 004 - Reserved
-
-
-
- 005 - Reserved
-
-
-
- 006 - Reserved
-
-
-
- 007 - Notification: Status Information
-
-
-
- 008 - Notification: User Intervention Required
-
-
-
- 009 - User Defined
-
-
-
- 010 - Information
-
-
-
- 011 - Specified Database Object Not Found
-
-
-
- 012 - Unused
-
-
-
- 013 - User Transaction Syntax Error
-
-
-
- 014 - Insufficient Permission
-
-
-
- 015 - Syntax Error in SQL Statements
-
-
-
- 016 - Miscellaneous User Error
-
-
-
- 017 - Insufficient Resources
-
-
-
- 018 - Nonfatal Internal Error
-
-
-
- 019 - Fatal Error in Resource
-
-
-
- 020 - Fatal Error in Current Process
-
-
-
- 021 - Fatal Error in Database Processes
-
-
-
- 022 - Fatal Error: Table Integrity Suspect
-
-
-
- 023 - Fatal Error: Database Integrity Suspect
-
-
-
- 024 - Fatal Error: Hardware Error
-
-
-
- 025 - Fatal Error
-
-
-
- Pager schedule end time is earlier than start time on Mon-Fri. Do you want to continue?
- Message box that displayed if start time is more than end time on Mon-Fri
-
-
- Pager schedule end time is earlier than start time on Sat-Sun. Do you want to continue?
- Message box that displayed if start time is more than end time on Sat-Sun
-
-
- Pager schedule warning
- Message box caption
-
-
- General
- Tree node name
-
-
- Notifications
- Tree node name
-
-
- History
- Tree node name
-
-
- Day
- Pager schedule grid column name
-
-
- Start Time
- Pager schedule grid column name
-
-
- End Time
- Pager schedule grid column name
-
-
- Column index is invalid.
- Exception thrown when column index is invalid
-
-
- Row index is invalid.
- Exception thrown when row index is invalid
-
-
- New Operator
- Name of the operator dialog in create new operator mode
-
-
- {0} Properties
- Name of the operator dialog in modify operator mode.
- Parameters: 0 - operatorName (string)
-
-
- Unable to create/initialize Agent Operator dialog.
- Exception thrown when dialog cannot be created/intialized.
-
-
- Job server is not available.
- Exception thrown when job server is not available
-
-
- Cannot create/initialize General page.
- Exception thrown when we cannot create/initialize agent operators general page
-
-
- Cannot create/initialize Notifications page.
- Exception thrown when we cannot create/initialize agent operators notifications page
-
-
- Cannot create/initialize History page.
- Exception thrown when we cannot create/initialize agent operators history page
-
-
- Cannot reset operator.
- Exception throw when dialog cannot refresh operator
-
-
- Alert list:
- Name of label on notifications page
-
-
- Job list:
- Name of label on notifications page
-
-
- E-mail
- Name of column on notifications page
-
-
- Pager
- Name of column on notifications page
-
-
- Alert name
- Name of column on notifications page
-
-
- Job name
- Name of column on notifications page
-
-
- Always
- Completion Action
-
-
- Never
- Completion Action
-
-
- On failure
- Completion Action
-
-
- On success
- Completion Action
-
-
- Cannot modify alerts.
- Exception thrown when we cannot modify alerts
-
-
- Cannot create script for modify alerts.
- Exception thrown when we cannot create script that modify alerts
-
[Uncategorized (Local)]
job categories
@@ -2632,4 +1671,20 @@
.
Parameters: 0 - scheduleName (string)
+
+ Job server is not available
+ Exception thrown when job server is not available
+
+
+ Never
+
+
+
+ Path {0} is not a valid directory
+
+
+
+ For directory {0} a file with name {1} already exist
+
+
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
index a3c49b8c..7931948a 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
@@ -249,64 +249,14 @@ EditDataIncorrectTable(string tableName) = EditData queries must query the origi
############################################################################
# DacFx Resources
-EE_BatchSqlMessageNoProcedureInfo = Msg {0}, Level {1}, State {2}, Line {3}
-
-EE_BatchSqlMessageWithProcedureInfo = Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
-
-EE_BatchSqlMessageNoLineInfo = Msg {0}, Level {1}, State {2}
-
-EE_BatchError_Exception = An error occurred while the batch was being processed. The error message is: {0}
-
-EE_BatchExecutionInfo_RowsAffected = ({0} row(s) affected)
-
-EE_ExecutionNotYetCompleteError = The previous execution is not yet complete.
-
-EE_ScriptError_Error = A scripting error occurred.
-
-EE_ScriptError_ParsingSyntax = Incorrect syntax was encountered while {0} was being parsed.
-
-EE_ScriptError_FatalError = A fatal error occurred.
-
-EE_ExecutionInfo_FinalizingLoop = Batch execution completed {0} times...
-
-EE_ExecutionInfo_QueryCancelledbyUser = You cancelled the query.
-
-EE_BatchExecutionError_Halting = An error occurred while the batch was being executed.
+EE_ExecutionInfo_InitializingLoop = Beginning execution loop
EE_BatchExecutionError_Ignoring = An error occurred while the batch was being executed, but the error has been ignored.
-EE_ExecutionInfo_InitializingLoop = Beginning execution loop
-
-EE_ExecutionError_CommandNotSupported = Command {0} is not supported.
-
-EE_ExecutionError_VariableNotFound = The variable {0} could not be found.
-
-BatchParserWrapperExecutionEngineError = SQL Execution error: {0}
+EE_ExecutionInfo_FinalizingLoop = Batch execution completed {0} times...
BatchParserWrapperExecutionError = Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
-BatchParserWrapperExecutionEngineBatchMessage = Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
-
-BatchParserWrapperExecutionEngineBatchResultSetProcessing = Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
-
-BatchParserWrapperExecutionEngineBatchResultSetFinished = Batch parser wrapper execution engine batch ResultSet finished.
-
-BatchParserWrapperExecutionEngineBatchCancelling = Canceling batch parser wrapper batch execution.
-
-EE_ScriptError_Warning = Scripting warning.
-
-TroubleshootingAssistanceMessage = For more information about this error, see the troubleshooting topics in the product documentation.
-
-BatchParser_CircularReference = File '{0}' recursively included.
-
-BatchParser_CommentNotTerminated = Missing end comment mark '*/'.
-
-BatchParser_StringNotTerminated = Unclosed quotation mark after the character string.
-
-BatchParser_IncorrectSyntax = Incorrect syntax was encountered while parsing '{0}'.
-
-BatchParser_VariableNotDefined = Variable {0} is not defined.
-
############################################################################
# Workspace Service
@@ -716,125 +666,6 @@ StoredProcedureScriptParameterComment = -- TODO: Set parameter values here.
ScriptingGeneralError = An error occurred while scripting the objects.
ScriptingExecuteNotSupportedError = Scripting as Execute is only supported for Stored Procedures
-############################################################################
-# Admin Service
-
-unavailable = Unavailable
-filegroup_dialog_defaultFilegroup = Current default filegroup: {0}
-filegroup_dialog_title = New Filegroup for {0}
-filegroups_default = Default
-filegroups_files = Files
-filegroups_name = Name
-filegroups_readonly = Read-Only
-general_autogrowth = Autogrowth / Maxsize
-general_builderText = ...
-general_default = <default>
-general_fileGroup = Filegroup
-general_fileName = Logical Name
-general_fileType = File Type
-general_initialSize = Initial Size (MB)
-general_newFilegroup = <new filegroup>
-general_path = Path
-general_physicalFileName = File Name
-general_rawDevice = <raw device>
-general_recoveryModel_bulkLogged = Bulk-logged
-general_recoveryModel_full = Full
-general_recoveryModel_simple = Simple
-general_titleSearchOwner = Select Database Owner
-
-prototype_autogrowth_disabled = None
-prototype_autogrowth_restrictedGrowthByMB = By {0} MB, Limited to {1} MB
-prototype_autogrowth_restrictedGrowthByPercent = By {0} percent, Limited to {1} MB
-prototype_autogrowth_unrestrictedGrowthByMB = By {0} MB, Unlimited
-prototype_autogrowth_unrestrictedGrowthByPercent = By {0} percent, Unlimited
-prototype_autogrowth_unlimitedfilestream = Unlimited
-prototype_autogrowth_limitedfilestream = Limited to {0} MB
-prototype_db_category_automatic = Automatic
-prototype_db_category_servicebroker = Service Broker
-prototype_db_category_collation = Collation
-prototype_db_category_cursor = Cursor
-prototype_db_category_misc = Miscellaneous
-prototype_db_category_recovery = Recovery
-prototype_db_category_state = State
-prototype_db_prop_ansiNullDefault = ANSI NULL Default
-prototype_db_prop_ansiNulls = ANSI NULLS Enabled
-prototype_db_prop_ansiPadding = ANSI Padding Enabled
-prototype_db_prop_ansiWarnings = ANSI Warnings Enabled
-prototype_db_prop_arithabort = Arithmetic Abort Enabled
-prototype_db_prop_autoClose = Auto Close
-prototype_db_prop_autoCreateStatistics = Auto Create Statistics
-prototype_db_prop_autoShrink = Auto Shrink
-prototype_db_prop_autoUpdateStatistics = Auto Update Statistics
-prototype_db_prop_autoUpdateStatisticsAsync = Auto Update Statistics Asynchronously
-prototype_db_prop_caseSensitive = Case Sensitive
-prototype_db_prop_closeCursorOnCommit = Close Cursor on Commit Enabled
-prototype_db_prop_collation = Collation
-prototype_db_prop_concatNullYieldsNull = Concatenate Null Yields Null
-prototype_db_prop_databaseCompatibilityLevel = Database Compatibility Level
-prototype_db_prop_databaseState = Database State
-prototype_db_prop_defaultCursor = Default Cursor
-prototype_db_prop_fullTextIndexing = Full-Text Indexing Enabled
-prototype_db_prop_numericRoundAbort = Numeric Round-Abort
-prototype_db_prop_pageVerify = Page Verify
-prototype_db_prop_quotedIdentifier = Quoted Identifiers Enabled
-prototype_db_prop_readOnly = Database Read-Only
-prototype_db_prop_recursiveTriggers = Recursive Triggers Enabled
-prototype_db_prop_restrictAccess = Restrict Access
-prototype_db_prop_selectIntoBulkCopy = Select Into/Bulk Copy
-prototype_db_prop_honorBrokerPriority = Honor Broker Priority
-prototype_db_prop_serviceBrokerGuid = Service Broker Identifier
-prototype_db_prop_brokerEnabled = Broker Enabled
-prototype_db_prop_truncateLogOnCheckpoint = Truncate Log on Checkpoint
-prototype_db_prop_dbChaining = Cross-database Ownership Chaining Enabled
-prototype_db_prop_trustworthy = Trustworthy
-prototype_db_prop_dateCorrelationOptimization = Date Correlation Optimization Enabled
-prototype_db_prop_parameterization = Parameterization
-prototype_db_prop_parameterization_value_forced = Forced
-prototype_db_prop_parameterization_value_simple = Simple
-prototype_file_dataFile = ROWS Data
-prototype_file_logFile = LOG
-prototype_file_filestreamFile = FILESTREAM Data
-prototype_file_noFileGroup = Not Applicable
-prototype_file_defaultpathstring = <default path>
-title_openConnectionsMustBeClosed = Open Connections
-warning_openConnectionsMustBeClosed=To change the database properties, SQL Server must close all other connections to the database_ Are you sure you want to change the properties and close all other connections?
-prototype_db_prop_databaseState_value_autoClosed = AUTO_CLOSED
-prototype_db_prop_databaseState_value_emergency = EMERGENCY
-prototype_db_prop_databaseState_value_inaccessible = INACCESSIBLE
-prototype_db_prop_databaseState_value_normal = NORMAL
-prototype_db_prop_databaseState_value_offline = OFFLINE
-prototype_db_prop_databaseState_value_recovering = RECOVERING
-prototype_db_prop_databaseState_value_recoveryPending = RECOVERY PENDING
-prototype_db_prop_databaseState_value_restoring = RESTORING
-prototype_db_prop_databaseState_value_shutdown=SHUTDOWN
-prototype_db_prop_databaseState_value_standby = STANDBY
-prototype_db_prop_databaseState_value_suspect = SUSPECT
-prototype_db_prop_defaultCursor_value_global = GLOBAL
-prototype_db_prop_defaultCursor_value_local = LOCAL
-prototype_db_prop_restrictAccess_value_multiple = MULTI_USER
-prototype_db_prop_restrictAccess_value_restricted = RESTRICTED_USER
-prototype_db_prop_restrictAccess_value_single = SINGLE_USER
-prototype_db_prop_pageVerify_value_checksum = CHECKSUM
-prototype_db_prop_pageVerify_value_none = NONE
-prototype_db_prop_pageVerify_value_tornPageDetection = TORN_PAGE_DETECTION
-prototype_db_prop_varDecimalEnabled = VarDecimal Storage Format Enabled
-compatibilityLevel_katmai = SQL Server 2008 (100)
-prototype_db_prop_encryptionEnabled = Encryption Enabled
-prototype_db_prop_databasescopedconfig_value_off = OFF
-prototype_db_prop_databasescopedconfig_value_on = ON
-prototype_db_prop_databasescopedconfig_value_primary = PRIMARY
-error_db_prop_invalidleadingColumns = For the distribution policy HASH, the number of leading hash columns is optional but should be from 1 to 16 columns
-compatibilityLevel_denali = SQL Server 2012 (110)
-compatibilityLevel_sql14 = SQL Server 2014 (120)
-compatibilityLevel_sql15 = SQL Server 2016 (130)
-compatibilityLevel_sqlvNext = SQL Server vNext (140)
-general_containmentType_None = None
-general_containmentType_Partial = Partial
-filegroups_filestreamFiles = FILESTREAM Files
-prototype_file_noApplicableFileGroup = No Applicable Filegroup
-NeverBackedUp = Never
-Error_InvalidDirectoryName = Path {0} is not a valid directory
-Error_ExistingDirectoryName = For directory {0} a file with name {1} already exists
############################################################################
# Backup Service
@@ -895,146 +726,6 @@ StopSessionFailed(String error) = Failed to stop session: {0}
SessionNotFound = Cannot find requested XEvent session
SessionAlreadyExists(String sessionName) = An XEvent session named {0} already exists
-#############################################################################
-# SQL Agent
-EnableAlertsTitle(String serverName) = Enable Alerts - {0}
-EnableAlertDescription(String alertName) = Enable Alert '{0}'
-EnablingAlert(String alertName) = Enabling Alert '{0}'
-EnabledAlert(String alertName) = Enabled Alert '{0}'
-
-DisableAlertsTitle(String serverName) = Disable Alerts - {0}
-DisableAlertDescription(String alertName) = Disable Alert '{0}'
-DisablingAlert(String alertName) = Disabling Alert '{0}'
-DisabledAlert(String alertName) = Disabled Alert '{0}'
-
-EnableJobsTitle(String serverName) = Enable Jobs - {0}
-EnableJobDescription(String jobName) = Enable Job '{0}'
-EnablingJob(String jobName) = Enabling Job '{0}'
-EnabledJob(String jobName) = Enabled Job '{0}'
-
-DisableJobsTitle(String serverName) = Disable Jobs - {0}
-DisableJobDescription(String jobName) = Disable Job '{0}'
-DisablingJob(String jobName) = Disabling Job '{0}'
-DisabledJob(String jobName) = Disabled Job '{0}'
-
-StartJobsTitle(String serverName) = Start Jobs - {0}
-StartJobDescription(String jobName) = Start Job '{0}'
-GettingStartStep(String jobName) = Job '{0}' has more than one step. Getting step to start
-UserCancelledSelectStep = User canceled select step. Job will not be started
-StartingJob(String jobName) = Starting Job '{0}'
-StartJobWithStep(String jobName, String stepName) = Start Job '{0}' with step '{1}'
-RequestPostedToTargetServers = Posted remote job execution request
-
-ExecuteJob(string jobName) = Execute job '{0}'
-JobFailed(string jobName) = Execution of job '{0}' failed. See the history log for details.
-Executing = Executing
-BetweenRetries = Between retries
-Suspended = Suspended
-PerformingCompletionAction = Performing completion action
-WaitingForStepToFinish = Waiting for step to finish
-WaitingForWorkerThread = Waiting for worker thread
-
-StopJobsTitle(String serverName) = Stop Jobs - {0}
-StopJobDescription(String jobName) = Stop Job '{0}'
-StoppingJob(String jobName) = Stopping Job '{0}'
-StoppedJob(String jobName) = Stopped Job '{0}'
-
-; First item in database name drop down list
-AllDatabases =
-; Exception thrown when agent alert has unknown severity level
-UnknownSeverity(int severity) = Unknown severity: {0}
-
-#severity types
-Severity001 = 001 - Miscellaneous System Information
-Severity002 = 002 - Reserved
-Severity003 = 003 - Reserved
-Severity004 = 004 - Reserved
-Severity005 = 005 - Reserved
-Severity006 = 006 - Reserved
-Severity007 = 007 - Notification: Status Information
-Severity008 = 008 - Notification: User Intervention Required
-Severity009 = 009 - User Defined
-Severity010 = 010 - Information
-Severity011 = 011 - Specified Database Object Not Found
-Severity012 = 012 - Unused
-Severity013 = 013 - User Transaction Syntax Error
-Severity014 = 014 - Insufficient Permission
-Severity015 = 015 - Syntax Error in SQL Statements
-Severity016 = 016 - Miscellaneous User Error
-Severity017 = 017 - Insufficient Resources
-Severity018 = 018 - Nonfatal Internal Error
-Severity019 = 019 - Fatal Error in Resource
-Severity020 = 020 - Fatal Error in Current Process
-Severity021 = 021 - Fatal Error in Database Processes
-Severity022 = 022 - Fatal Error: Table Integrity Suspect
-Severity023 = 023 - Fatal Error: Database Integrity Suspect
-Severity024 = 024 - Fatal Error: Hardware Error
-Severity025 = 025 - Fatal Error
-
-; Message box that displayed if start time is more than end time on Mon-Fri
-PagerScheduleMonFri = Pager schedule end time is earlier than start time on Mon-Fri. Do you want to continue?
-; Message box that displayed if start time is more than end time on Sat-Sun
-PagerScheduleSatSun = Pager schedule end time is earlier than start time on Sat-Sun. Do you want to continue?
-; Message box caption
-PagerScheduleWarning = Pager schedule warning
-
-; Tree node name
-General = General
-; Tree node name
-Notifications = Notifications
-; Tree node name
-History = History
-; Pager schedule grid column name
-Day = Day
-; Pager schedule grid column name
-StartTime = Start Time
-; Pager schedule grid column name
-EndTime = End Time
-; Exception thrown when column index is invalid
-ColumnIndexIsInvalid = Column index is invalid.
-; Exception thrown when row index is invalid
-RowIndexIsInvalid = Row index is invalid.
-; Name of the operator dialog in create new operator mode
-NewOperatorProperties = New Operator
-; Name of the operator dialog in modify operator mode
-OperatorProperties(string operatorName) = {0} Properties
-; Exception thrown when dialog cannot be created/intialized.
-FailedToCreateInitializeAgentOperatorDialog = Unable to create/initialize Agent Operator dialog.
-; Exception thrown when job server is not available
-JobServerIsNotAvailable = Job server is not available.
-; Exception thrown when we cannot create/initialize agent operators general page
-CannotCreateInitializeGeneralPage = Cannot create/initialize General page.
-; Exception thrown when we cannot create/initialize agent operators notifications page
-CannotCreateInitializeNotificationsPage = Cannot create/initialize Notifications page.
-; Exception thrown when we cannot create/initialize agent operators history page
-CannotCreateInitializeHistoryPage = Cannot create/initialize History page.
-; Exception throw when dialog cannot refresh operator
-CannotResetOperator = Cannot reset operator.
-
-; Name of label on notifications page
-AlertList = Alert list:
-; Name of label on notifications page
-JobList = Job list:
-; Name of column on notifications page
-Email = E-mail
-; Name of column on notifications page
-Pager = Pager
-; Name of column on notifications page
-AlertName = Alert name
-; Name of column on notifications page
-JobName = Job name
-; Completion Action
-Always = Always
-; Completion Action
-Never = Never
-; Completion Action
-OnFailure = On failure
-; Completion Action
-OnSuccess = On success
-; Exception thrown when we cannot modify alerts
-CannotModifyAlerts = Cannot modify alerts.
-; Exception thrown when we cannot create script that modify alerts
-CannotCreateScriptForModifyAlerts = Cannot create script for modify alerts.
;job categories
CategoryLocal = [Uncategorized (Local)]
@@ -1081,4 +772,14 @@ StartDateGreaterThanEndDate = The job schedule starting date cannot be greater t
StartTimeGreaterThanEndTime = The job schedule starting time cannot be after the ending time.
EndTimeEqualToStartTime = The job schedule ending time must be after the starting time.
InvalidStartDate = Start date must be on or after January 1, 1990.
-ScheduleNameAlreadyExists(string scheduleName)=There is already a schedule named '{0}' for this job. You must specify a different name.
\ No newline at end of file
+ScheduleNameAlreadyExists(string scheduleName)=There is already a schedule named '{0}' for this job. You must specify a different name.
+
+; Exception thrown when job server is not available
+JobServerIsNotAvailable = Job server is not available
+
+############################################################################
+# Admin Service
+
+NeverBackedUp = Never
+Error_InvalidDirectoryName = Path {0} is not a valid directory
+Error_ExistingDirectoryName = For directory {0} a file with name {1} already exist
\ No newline at end of file
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
index b531bc1e..1076e99a 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
@@ -269,151 +269,6 @@
.
Parameters: 0 - sLine (int), 1 - sCol (int), 2 - eLine (int), 3 - eCol (int)
-
- Msg {0}, Level {1}, State {2}, Line {3}
- Msg {0}, Level {1}, State {2}, Line {3}
-
-
-
- Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
- Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
-
-
-
- Msg {0}, Level {1}, State {2}
- Msg {0}, Level {1}, State {2}
-
-
-
- An error occurred while the batch was being processed. The error message is: {0}
- An error occurred while the batch was being processed. The error message is: {0}
-
-
-
- ({0} row(s) affected)
- ({0} row(s) affected)
-
-
-
- The previous execution is not yet complete.
- The previous execution is not yet complete.
-
-
-
- A scripting error occurred.
- A scripting error occurred.
-
-
-
- Incorrect syntax was encountered while {0} was being parsed.
- Incorrect syntax was encountered while {0} was being parsed.
-
-
-
- A fatal error occurred.
- A fatal error occurred.
-
-
-
- Batch execution completed {0} times...
- Batch execution completed {0} times...
-
-
-
- You cancelled the query.
- You cancelled the query.
-
-
-
- An error occurred while the batch was being executed.
- An error occurred while the batch was being executed.
-
-
-
- An error occurred while the batch was being executed, but the error has been ignored.
- An error occurred while the batch was being executed, but the error has been ignored.
-
-
-
- Beginning execution loop
- Beginning execution loop
-
-
-
- Command {0} is not supported.
- Command {0} is not supported.
-
-
-
- The variable {0} could not be found.
- The variable {0} could not be found.
-
-
-
- SQL Execution error: {0}
- SQL Execution error: {0}
-
-
-
- Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
- Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
-
-
-
- Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
- Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
-
-
-
- Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
- Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
-
-
-
- Batch parser wrapper execution engine batch ResultSet finished.
- Batch parser wrapper execution engine batch ResultSet finished.
-
-
-
- Canceling batch parser wrapper batch execution.
- Canceling batch parser wrapper batch execution.
-
-
-
- Scripting warning.
- Scripting warning.
-
-
-
- For more information about this error, see the troubleshooting topics in the product documentation.
- For more information about this error, see the troubleshooting topics in the product documentation.
-
-
-
- File '{0}' recursively included.
- File '{0}' recursively included.
-
-
-
-
- Unclosed quotation mark after the character string.
- Unclosed quotation mark after the character string.
-
-
-
- Incorrect syntax was encountered while parsing '{0}'.
- Incorrect syntax was encountered while parsing '{0}'.
-
-
-
- Variable {0} is not defined.
- Variable {0} is not defined.
-
-
test
test
@@ -1542,561 +1397,6 @@
System-Versioned
-
- Unavailable
- Unavailable
-
-
-
- Current default filegroup: {0}
- Current default filegroup: {0}
-
-
-
- New Filegroup for {0}
- New Filegroup for {0}
-
-
-
- Default
- Default
-
-
-
- Files
- Files
-
-
-
- Name
- Name
-
-
-
- Read-Only
- Read-Only
-
-
-
- Autogrowth / Maxsize
- Autogrowth / Maxsize
-
-
-
- ...
- ...
-
-
-
- <default>
- <default>
-
-
-
- Filegroup
- Filegroup
-
-
-
- Logical Name
- Logical Name
-
-
-
- File Type
- File Type
-
-
-
- Initial Size (MB)
- Initial Size (MB)
-
-
-
- <new filegroup>
- <new filegroup>
-
-
-
- Path
- Path
-
-
-
- File Name
- File Name
-
-
-
- <raw device>
- <raw device>
-
-
-
- Bulk-logged
- Bulk-logged
-
-
-
- Full
- Full
-
-
-
- Simple
- Simple
-
-
-
- Select Database Owner
- Select Database Owner
-
-
-
- None
- None
-
-
-
- By {0} MB, Limited to {1} MB
- By {0} MB, Limited to {1} MB
-
-
-
- By {0} percent, Limited to {1} MB
- By {0} percent, Limited to {1} MB
-
-
-
- By {0} MB, Unlimited
- By {0} MB, Unlimited
-
-
-
- By {0} percent, Unlimited
- By {0} percent, Unlimited
-
-
-
- Unlimited
- Unlimited
-
-
-
- Limited to {0} MB
- Limited to {0} MB
-
-
-
- Automatic
- Automatic
-
-
-
- Service Broker
- Service Broker
-
-
-
- Collation
- Collation
-
-
-
- Cursor
- Cursor
-
-
-
- Miscellaneous
- Miscellaneous
-
-
-
- Recovery
- Recovery
-
-
-
- State
- State
-
-
-
- ANSI NULL Default
- ANSI NULL Default
-
-
-
- ANSI NULLS Enabled
- ANSI NULLS Enabled
-
-
-
- ANSI Padding Enabled
- ANSI Padding Enabled
-
-
-
- ANSI Warnings Enabled
- ANSI Warnings Enabled
-
-
-
- Arithmetic Abort Enabled
- Arithmetic Abort Enabled
-
-
-
- Auto Close
- Auto Close
-
-
-
- Auto Create Statistics
- Auto Create Statistics
-
-
-
- Auto Shrink
- Auto Shrink
-
-
-
- Auto Update Statistics
- Auto Update Statistics
-
-
-
- Auto Update Statistics Asynchronously
- Auto Update Statistics Asynchronously
-
-
-
- Case Sensitive
- Case Sensitive
-
-
-
- Close Cursor on Commit Enabled
- Close Cursor on Commit Enabled
-
-
-
- Collation
- Collation
-
-
-
- Concatenate Null Yields Null
- Concatenate Null Yields Null
-
-
-
- Database Compatibility Level
- Database Compatibility Level
-
-
-
- Database State
- Database State
-
-
-
- Default Cursor
- Default Cursor
-
-
-
- Full-Text Indexing Enabled
- Full-Text Indexing Enabled
-
-
-
- Numeric Round-Abort
- Numeric Round-Abort
-
-
-
- Page Verify
- Page Verify
-
-
-
- Quoted Identifiers Enabled
- Quoted Identifiers Enabled
-
-
-
- Database Read-Only
- Database Read-Only
-
-
-
- Recursive Triggers Enabled
- Recursive Triggers Enabled
-
-
-
- Restrict Access
- Restrict Access
-
-
-
- Select Into/Bulk Copy
- Select Into/Bulk Copy
-
-
-
- Honor Broker Priority
- Honor Broker Priority
-
-
-
- Service Broker Identifier
- Service Broker Identifier
-
-
-
- Broker Enabled
- Broker Enabled
-
-
-
- Truncate Log on Checkpoint
- Truncate Log on Checkpoint
-
-
-
- Cross-database Ownership Chaining Enabled
- Cross-database Ownership Chaining Enabled
-
-
-
- Trustworthy
- Trustworthy
-
-
-
- Date Correlation Optimization Enabled
- Date Correlation Optimization Enabled
-
-
-
- Forced
- Forced
-
-
-
- Simple
- Simple
-
-
-
- ROWS Data
- ROWS Data
-
-
-
- LOG
- LOG
-
-
-
- FILESTREAM Data
- FILESTREAM Data
-
-
-
- Not Applicable
- Not Applicable
-
-
-
- <default path>
- <default path>
-
-
-
- Open Connections
- Open Connections
-
-
-
- To change the database properties, SQL Server must close all other connections to the database_ Are you sure you want to change the properties and close all other connections?
- To change the database properties, SQL Server must close all other connections to the database_ Are you sure you want to change the properties and close all other connections?
-
-
-
- AUTO_CLOSED
- AUTO_CLOSED
-
-
-
- EMERGENCY
- EMERGENCY
-
-
-
- INACCESSIBLE
- INACCESSIBLE
-
-
-
- NORMAL
- NORMAL
-
-
-
- OFFLINE
- OFFLINE
-
-
-
- RECOVERING
- RECOVERING
-
-
-
- RECOVERY PENDING
- RECOVERY PENDING
-
-
-
- RESTORING
- RESTORING
-
-
-
- SHUTDOWN
- SHUTDOWN
-
-
-
- STANDBY
- STANDBY
-
-
-
- SUSPECT
- SUSPECT
-
-
-
- GLOBAL
- GLOBAL
-
-
-
- LOCAL
- LOCAL
-
-
-
- MULTI_USER
- MULTI_USER
-
-
-
- RESTRICTED_USER
- RESTRICTED_USER
-
-
-
- SINGLE_USER
- SINGLE_USER
-
-
-
- CHECKSUM
- CHECKSUM
-
-
-
- NONE
- NONE
-
-
-
- TORN_PAGE_DETECTION
- TORN_PAGE_DETECTION
-
-
-
- VarDecimal Storage Format Enabled
- VarDecimal Storage Format Enabled
-
-
-
- SQL Server 2008 (100)
- SQL Server 2008 (100)
-
-
-
- Encryption Enabled
- Encryption Enabled
-
-
-
- OFF
- OFF
-
-
-
- ON
- ON
-
-
-
- PRIMARY
- PRIMARY
-
-
-
- For the distribution policy HASH, the number of leading hash columns is optional but should be from 1 to 16 columns
- For the distribution policy HASH, the number of leading hash columns is optional but should be from 1 to 16 columns
-
-
-
- SQL Server 2012 (110)
- SQL Server 2012 (110)
-
-
-
- SQL Server 2014 (120)
- SQL Server 2014 (120)
-
-
-
- SQL Server 2016 (130)
- SQL Server 2016 (130)
-
-
-
- SQL Server vNext (140)
- SQL Server vNext (140)
-
-
-
- None
- None
-
-
-
- Partial
- Partial
-
-
-
- FILESTREAM Files
- FILESTREAM Files
-
-
-
- No Applicable Filegroup
- No Applicable Filegroup
-
-
The database {0} is not accessible.
The database {0} is not accessible.
@@ -2111,11 +1411,6 @@
Result set has too many rows to be safely loaded
Result set has too many rows to be safely loaded
-
- Parameterization
- Parameterization
-
-
Specifying this option when restoring a backup with the NORECOVERY option is not permitted.
Specifying this option when restoring a backup with the NORECOVERY option is not permitted.
@@ -2281,11 +1576,6 @@
No backupset selected to be restored
-
- Never
- Never
-
-
Azure SQL DB
Azure SQL DB
@@ -2301,16 +1591,6 @@
Azure SQL Stretch Database
-
- Path {0} is not a valid directory
- Path {0} is not a valid directory
-
-
-
- For directory {0} a file with name {1} already exists
- For directory {0} a file with name {1} already exists
-
-
Value {0} is too large to fit in column of type {1}
Value {0} is too large to fit in column of type {1}
@@ -2384,500 +1664,6 @@
.
Parameters: 0 - tableName (string)
-
- Enable Alerts - {0}
- Enable Alerts - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Enable Alert '{0}'
- Enable Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Enabling Alert '{0}'
- Enabling Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Enabled Alert '{0}'
- Enabled Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Disable Alerts - {0}
- Disable Alerts - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Disable Alert '{0}'
- Disable Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Disabling Alert '{0}'
- Disabling Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Disabled Alert '{0}'
- Disabled Alert '{0}'
- .
- Parameters: 0 - alertName (String)
-
-
- Enable Jobs - {0}
- Enable Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Enable Job '{0}'
- Enable Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Enabling Job '{0}'
- Enabling Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Enabled Job '{0}'
- Enabled Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Disable Jobs - {0}
- Disable Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Disable Job '{0}'
- Disable Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Disabling Job '{0}'
- Disabling Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Disabled Job '{0}'
- Disabled Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Start Jobs - {0}
- Start Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Start Job '{0}'
- Start Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Job '{0}' has more than one step. Getting step to start
- Job '{0}' has more than one step. Getting step to start
- .
- Parameters: 0 - jobName (String)
-
-
- User canceled select step. Job will not be started
- User canceled select step. Job will not be started
-
-
-
- Starting Job '{0}'
- Starting Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Start Job '{0}' with step '{1}'
- Start Job '{0}' with step '{1}'
- .
- Parameters: 0 - jobName (String), 1 - stepName (String)
-
-
- Posted remote job execution request
- Posted remote job execution request
-
-
-
- Execute job '{0}'
- Execute job '{0}'
- .
- Parameters: 0 - jobName (string)
-
-
- Execution of job '{0}' failed. See the history log for details.
- Execution of job '{0}' failed. See the history log for details.
- .
- Parameters: 0 - jobName (string)
-
-
- Executing
- Executing
-
-
-
- Between retries
- Between retries
-
-
-
- Suspended
- Suspended
-
-
-
- Performing completion action
- Performing completion action
-
-
-
- Waiting for step to finish
- Waiting for step to finish
-
-
-
- Waiting for worker thread
- Waiting for worker thread
-
-
-
- Stop Jobs - {0}
- Stop Jobs - {0}
- .
- Parameters: 0 - serverName (String)
-
-
- Stop Job '{0}'
- Stop Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Stopping Job '{0}'
- Stopping Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- Stopped Job '{0}'
- Stopped Job '{0}'
- .
- Parameters: 0 - jobName (String)
-
-
- <all databases>
- <all databases>
- First item in database name drop down list
-
-
- Unknown severity: {0}
- Unknown severity: {0}
- Exception thrown when agent alert has unknown severity level.
- Parameters: 0 - severity (int)
-
-
- 001 - Miscellaneous System Information
- 001 - Miscellaneous System Information
-
-
-
- 002 - Reserved
- 002 - Reserved
-
-
-
- 003 - Reserved
- 003 - Reserved
-
-
-
- 004 - Reserved
- 004 - Reserved
-
-
-
- 005 - Reserved
- 005 - Reserved
-
-
-
- 006 - Reserved
- 006 - Reserved
-
-
-
- 007 - Notification: Status Information
- 007 - Notification: Status Information
-
-
-
- 008 - Notification: User Intervention Required
- 008 - Notification: User Intervention Required
-
-
-
- 009 - User Defined
- 009 - User Defined
-
-
-
- 010 - Information
- 010 - Information
-
-
-
- 011 - Specified Database Object Not Found
- 011 - Specified Database Object Not Found
-
-
-
- 012 - Unused
- 012 - Unused
-
-
-
- 013 - User Transaction Syntax Error
- 013 - User Transaction Syntax Error
-
-
-
- 014 - Insufficient Permission
- 014 - Insufficient Permission
-
-
-
- 015 - Syntax Error in SQL Statements
- 015 - Syntax Error in SQL Statements
-
-
-
- 016 - Miscellaneous User Error
- 016 - Miscellaneous User Error
-
-
-
- 017 - Insufficient Resources
- 017 - Insufficient Resources
-
-
-
- 018 - Nonfatal Internal Error
- 018 - Nonfatal Internal Error
-
-
-
- 019 - Fatal Error in Resource
- 019 - Fatal Error in Resource
-
-
-
- 020 - Fatal Error in Current Process
- 020 - Fatal Error in Current Process
-
-
-
- 021 - Fatal Error in Database Processes
- 021 - Fatal Error in Database Processes
-
-
-
- 022 - Fatal Error: Table Integrity Suspect
- 022 - Fatal Error: Table Integrity Suspect
-
-
-
- 023 - Fatal Error: Database Integrity Suspect
- 023 - Fatal Error: Database Integrity Suspect
-
-
-
- 024 - Fatal Error: Hardware Error
- 024 - Fatal Error: Hardware Error
-
-
-
- 025 - Fatal Error
- 025 - Fatal Error
-
-
-
-
-
-
- General
- General
- Tree node name
-
-
- Notifications
- Notifications
- Tree node name
-
-
- History
- History
- Tree node name
-
-
- Day
- Day
- Pager schedule grid column name
-
-
- Start Time
- Start Time
- Pager schedule grid column name
-
-
- End Time
- End Time
- Pager schedule grid column name
-
-
- Column index is invalid.
- Column index is invalid.
- Exception thrown when column index is invalid
-
-
- Row index is invalid.
- Row index is invalid.
- Exception thrown when row index is invalid
-
-
- New Operator
- New Operator
- Name of the operator dialog in create new operator mode
-
-
- {0} Properties
- {0} Properties
- Name of the operator dialog in modify operator mode.
- Parameters: 0 - operatorName (string)
-
-
- Unable to create/initialize Agent Operator dialog.
- Unable to create/initialize Agent Operator dialog.
- Exception thrown when dialog cannot be created/intialized.
-
-
- Job server is not available.
- Job server is not available.
- Exception thrown when job server is not available
-
-
- Cannot create/initialize General page.
- Cannot create/initialize General page.
- Exception thrown when we cannot create/initialize agent operators general page
-
-
- Cannot create/initialize Notifications page.
- Cannot create/initialize Notifications page.
- Exception thrown when we cannot create/initialize agent operators notifications page
-
-
- Cannot create/initialize History page.
- Cannot create/initialize History page.
- Exception thrown when we cannot create/initialize agent operators history page
-
-
- Cannot reset operator.
- Cannot reset operator.
- Exception throw when dialog cannot refresh operator
-
-
- Alert list:
- Alert list:
- Name of label on notifications page
-
-
- Job list:
- Job list:
- Name of label on notifications page
-
-
- E-mail
- E-mail
- Name of column on notifications page
-
-
-
- Alert name
- Alert name
- Name of column on notifications page
-
-
- Job name
- Job name
- Name of column on notifications page
-
-
- Always
- Always
- Completion Action
-
-
- Never
- Never
- Completion Action
-
-
- On failure
- On failure
- Completion Action
-
-
- On success
- On success
- Completion Action
-
-
- Cannot modify alerts.
- Cannot modify alerts.
- Exception thrown when we cannot modify alerts
-
-
- Cannot create script for modify alerts.
- Cannot create script for modify alerts.
- Exception thrown when we cannot create script that modify alerts
-
[Uncategorized (Local)]
[Uncategorized (Local)]
@@ -3015,42 +1801,6 @@
Cannot alter alert.
-
- Invalid Schedule
- Invalid Schedule
- Schedule error message
-
-
- Select at least one day to be part of this weekly schedule.
- Select at least one day to be part of this weekly schedule.
-
-
-
- The job schedule starting date cannot be greater than the ending date.
- The job schedule starting date cannot be greater than the ending date.
-
-
-
- The job schedule starting time cannot be after the ending time.
- The job schedule starting time cannot be after the ending time.
-
-
-
- The job schedule ending time must be after the starting time.
- The job schedule ending time must be after the starting time.
-
-
-
- Start date must be on or after January 1, 1990.
- Start date must be on or after January 1, 1990.
-
-
-
- There is already a schedule named '{0}' for this job. You must specify a different name.
- There is already a schedule named '{0}' for this job. You must specify a different name.
- .
- Parameters: 0 - scheduleName (string)
-
SQL Server Agent Service Account
SQL Server Agent Service Account
@@ -3130,6 +1880,82 @@
.
Parameters: 0 - sessionName (String)
+
+ Invalid Schedule
+ Invalid Schedule
+ Schedule error message
+
+
+ Select at least one day to be part of this weekly schedule.
+ Select at least one day to be part of this weekly schedule.
+
+
+
+ The job schedule starting date cannot be greater than the ending date.
+ The job schedule starting date cannot be greater than the ending date.
+
+
+
+ The job schedule starting time cannot be after the ending time.
+ The job schedule starting time cannot be after the ending time.
+
+
+
+ The job schedule ending time must be after the starting time.
+ The job schedule ending time must be after the starting time.
+
+
+
+ Start date must be on or after January 1, 1990.
+ Start date must be on or after January 1, 1990.
+
+
+
+ There is already a schedule named '{0}' for this job. You must specify a different name.
+ There is already a schedule named '{0}' for this job. You must specify a different name.
+ .
+ Parameters: 0 - scheduleName (string)
+
+
+ Job server is not available
+ Job server is not available
+ Exception thrown when job server is not available
+
+
+ Never
+ Never
+
+
+
+ Path {0} is not a valid directory
+ Path {0} is not a valid directory
+
+
+
+ For directory {0} a file with name {1} already exist
+ For directory {0} a file with name {1} already exist
+
+
+
+ Beginning execution loop
+ Beginning execution loop
+
+
+
+ An error occurred while the batch was being executed, but the error has been ignored.
+ An error occurred while the batch was being executed, but the error has been ignored.
+
+
+
+ Batch execution completed {0} times...
+ Batch execution completed {0} times...
+
+
+
+ Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
+ Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
+
+