Class ServerInfo
Contract for information on the connected SQL Server instance.
Inheritance
System.Object
                  ServerInfo
              Namespace:Microsoft.SqlTools.ServiceLayer.Connection.Contracts
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class ServerInfoProperties
| Improve this Doc View SourceAzureVersion
The version of Azure that the SQL Server instance is running on, if applicable.
Declaration
public int AzureVersion { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
EngineEditionId
The ID of the engine edition of the SQL Server instance.
Declaration
public int EngineEditionId { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
IsCloud
Whether the SQL Server instance is running in the cloud (Azure) or not.
Declaration
public bool IsCloud { get; set; }| Type | Description | 
|---|---|
| System.Boolean | 
OsVersion
The Operating System version string of the machine running the SQL Server instance.
Declaration
public string OsVersion { get; set; }| Type | Description | 
|---|---|
| System.String | 
ServerEdition
The edition of the SQL Server instance.
Declaration
public string ServerEdition { get; set; }| Type | Description | 
|---|---|
| System.String | 
ServerLevel
String describing the product level of the server.
Declaration
public string ServerLevel { get; set; }| Type | Description | 
|---|---|
| System.String | 
ServerMajorVersion
The major version of the SQL Server instance.
Declaration
public int ServerMajorVersion { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
ServerMinorVersion
The minor version of the SQL Server instance.
Declaration
public int ServerMinorVersion { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
ServerReleaseVersion
The build of the SQL Server instance.
Declaration
public int ServerReleaseVersion { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
ServerVersion
String containing the full server version text.
Declaration
public string ServerVersion { get; set; }| Type | Description | 
|---|---|
| System.String |