Partager via


Propriété Information.Edition

Gets the edition of the instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Edition As String 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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.

Exemples

Configuration de SQL Server dans SMO

Voir aussi

Référence

Information Classe

Espace de noms Microsoft.SqlServer.Management.Smo