Share via


IServerSelectionFacet.BuildNumber Property

Gets the build number of the server.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_BuildNumberName")> _
<DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")> _
ReadOnly Property BuildNumber As Integer
    Get
'Usage
Dim instance As IServerSelectionFacet
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

Property Value

Type: System.Int32
An integer value that specifies the build number.