IServerInformation.BuildNumber Property
Gets the build number for the instance of SQL 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 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
Property Value
Type: System.Int32
Int32