SQL Tools Service
Show / Hide Table of Contents
Improve this Doc View Source

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 ServerInfo

Properties

| Improve this Doc View Source

AzureVersion

The version of Azure that the SQL Server instance is running on, if applicable.

Declaration
public int AzureVersion { get; set; }
Type Description
System.Int32
| Improve this Doc View Source

EngineEditionId

The ID of the engine edition of the SQL Server instance.

Declaration
public int EngineEditionId { get; set; }
Type Description
System.Int32
| Improve this Doc View Source

IsCloud

Whether the SQL Server instance is running in the cloud (Azure) or not.

Declaration
public bool IsCloud { get; set; }
Type Description
System.Boolean
| Improve this Doc View Source

OsVersion

The Operating System version string of the machine running the SQL Server instance.

Declaration
public string OsVersion { get; set; }
Type Description
System.String
| Improve this Doc View Source

ServerEdition

The edition of the SQL Server instance.

Declaration
public string ServerEdition { get; set; }
Type Description
System.String
| Improve this Doc View Source

ServerLevel

String describing the product level of the server.

Declaration
public string ServerLevel { get; set; }
Type Description
System.String
| Improve this Doc View Source

ServerMajorVersion

The major version of the SQL Server instance.

Declaration
public int ServerMajorVersion { get; set; }
Type Description
System.Int32
| Improve this Doc View Source

ServerMinorVersion

The minor version of the SQL Server instance.

Declaration
public int ServerMinorVersion { get; set; }
Type Description
System.Int32
| Improve this Doc View Source

ServerReleaseVersion

The build of the SQL Server instance.

Declaration
public int ServerReleaseVersion { get; set; }
Type Description
System.Int32
| Improve this Doc View Source

ServerVersion

String containing the full server version text.

Declaration
public string ServerVersion { get; set; }
Type Description
System.String
  • Improve this Doc
  • View Source

© Microsoft  //  Generated with DocFX