共用方式為


BuildNumber 屬性

Gets the build number for the instance of SQL Server.

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

語法

'宣告
<DisplayNameKeyAttribute("Server_BuildNumberName")> _
<DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")> _
ReadOnly Property BuildNumber As Integer
    Get
'用途
Dim instance As IServerInformation
Dim value As Integer

value = instance.BuildNumber
[DisplayNameKeyAttribute("Server_BuildNumberName")]
[DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")]
int BuildNumber { get; }
[DisplayNameKeyAttribute(L"Server_BuildNumberName")]
[DisplayDescriptionKeyAttribute(L"Server_BuildNumberDesc")]
property int BuildNumber {
    int get ();
}
[<DisplayNameKeyAttribute("Server_BuildNumberName")>]
[<DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")>]
abstract BuildNumber : int
function get BuildNumber () : int

屬性值

型別:System. . :: . .Int32
Int32