Dela via


IServerInformation.Edition Property

Get the edition of the instance of SQL Server.

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

Syntax

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

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

Property Value

Type: System.String
String