共用方式為


Edition 屬性

Get the edition of the instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Server_EditionName")> _
<DisplayDescriptionKeyAttribute("Server_EditionDesc")> _
ReadOnly Property Edition As String
    Get
'用途
Dim instance As IServerInformation
Dim value As String

value = instance.Edition
[DisplayNameKeyAttribute("Server_EditionName")]
[DisplayDescriptionKeyAttribute("Server_EditionDesc")]
string Edition { get; }
[DisplayNameKeyAttribute(L"Server_EditionName")]
[DisplayDescriptionKeyAttribute(L"Server_EditionDesc")]
property String^ Edition {
    String^ get ();
}
[<DisplayNameKeyAttribute("Server_EditionName")>]
[<DisplayDescriptionKeyAttribute("Server_EditionDesc")>]
abstract Edition : string
function get Edition () : String

屬性值

型別:System. . :: . .String
String