Share via


IServerInformation.Edition Property

Gets the edition of the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_EditionName")> _
<DisplayDescriptionKeyAttribute("Server_EditionDesc")> _
ReadOnly Property Edition As String 
    Get
'Usage
Dim instance As IServerInformation 
Dim value As String 

value = instance.Edition
[DisplayNameKeyAttribute("Server_EditionName")]
[DisplayDescriptionKeyAttribute("Server_EditionDesc")]
string Edition { get; }
[DisplayNameKeyAttribute(L"Server_EditionName")]
[DisplayDescriptionKeyAttribute(L"Server_EditionDesc")]
property String^ Edition {
    String^ get ();
}
[<DisplayNameKeyAttribute("Server_EditionName")>]
[<DisplayDescriptionKeyAttribute("Server_EditionDesc")>]
abstract Edition : string
function get Edition () : String

Property Value

Type: System.String
The edition of the instance of SQL Server.

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace