Information.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
<SfcPropertyAttribute> _
Public ReadOnly Property Edition As String
    Get
'Usage
Dim instance As Information
Dim value As String

value = instance.Edition
[SfcPropertyAttribute]
public string Edition { get; }
[SfcPropertyAttribute]
public:
property String^ Edition {
    String^ get ();
}
[<SfcPropertyAttribute>]
member Edition : string
function get Edition () : String

Property Value

Type: System.String
A string value that represents the edition of the instance of SQL Server. 

Remarks

The Edition property is a string value that specifies the edition of the instance of SQL Server, such as Enterprise or Professional. The edition determines the licensing and the components of the product.