[brgrbic] SqlOD changes for cloud Server Type and minor bug fixes (#1092)

* The ServerType of SQL OD in SMO is being changed to cloud. This is a minimal set of changes needed in sqltoolservice in order to keep everything working within ADS.

* SMO version update
This commit is contained in:
BranislavGrbicMDCS
2020-10-23 18:48:33 +02:00
committed by GitHub
parent dbfcf4ad61
commit 3e98a2f17b
8 changed files with 17 additions and 6 deletions

View File

@@ -472,6 +472,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
connectionInfo.MajorVersion = serverInfo.ServerMajorVersion;
connectionInfo.IsSqlDb = serverInfo.EngineEditionId == (int)DatabaseEngineEdition.SqlDatabase;
connectionInfo.IsSqlDW = (serverInfo.EngineEditionId == (int)DatabaseEngineEdition.SqlDataWarehouse);
connectionInfo.EngineEdition = (DatabaseEngineEdition) serverInfo.EngineEditionId;
}
catch (Exception ex)
{