Information.EngineEdition Property

Gets the edition of the engine for the instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EngineEdition As Edition 
    Get
'Usage
Dim instance As Information 
Dim value As Edition 

value = instance.EngineEdition
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public Edition EngineEdition { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property Edition EngineEdition {
    Edition get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EngineEdition : Edition
function get EngineEdition () : Edition

Property Value

Type: Microsoft.SqlServer.Management.Smo.Edition
A EngineEdition value that represents the engine 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.

Examples

Configuring SQL Server in SMO

See Also

Reference

Information Class

Microsoft.SqlServer.Management.Smo Namespace