Поделиться через


Свойство Edition

Gets the edition of the instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Edition As String
    Get
'Применение
Dim instance As Information
Dim value As String

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

Значение свойства

Тип: System. . :: . .String
A string value that represents the edition of the instance of SQL Server. 

Замечания

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.