Compartilhar via


Propriedade do RDL Information.Edition

Gets the edition of the instance of SQL Server.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Edition As String 
    Get
'Uso
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

Valor da propriedade

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

Comentários

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.

Exemplos

Configurando o SQL Server no SMO

Consulte também

Referência

Information Classe

Namespace Microsoft.SqlServer.Management.Smo