// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.DataProtocol.Contracts.Connection { /// /// Contract for information on the connected SQL Server instance. /// public class ServerInfo { /// /// The major version of the SQL Server instance. /// public int ServerMajorVersion { get; set; } /// /// The minor version of the SQL Server instance. /// public int ServerMinorVersion { get; set; } /// /// The build of the SQL Server instance. /// public int ServerReleaseVersion { get; set; } /// /// The ID of the engine edition of the SQL Server instance. /// public int EngineEditionId { get; set; } /// /// String containing the full server version text. /// public string ServerVersion { get; set; } /// /// String describing the product level of the server. /// public string ServerLevel { get; set; } /// /// The edition of the SQL Server instance. /// public string ServerEdition { get; set; } /// /// Whether the SQL Server instance is running in the cloud (Azure) or not. /// public bool IsCloud { get; set; } /// /// The version of Azure that the SQL Server instance is running on, if applicable. /// public int AzureVersion { get; set; } /// /// The Operating System version string of the machine running the SQL Server instance. /// public string OsVersion { get; set; } /// /// The Operating System version string of the machine running the SQL Server instance. /// public string MachineName { get; set; } } }