Information.EngineEdition Property
SQL Server 2008
Gets the edition of the engine for the instance of SQL Server.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
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.