Partager via


BuildNumber propriété

Gets the build number for the instance of SQL Server.

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

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")> _
<DisplayNameKeyAttribute("Server_BuildNumberName")> _
ReadOnly Property BuildNumber As Integer
    Get
'Utilisation
Dim instance As IServerInformation
Dim value As Integer

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

Valeur de la propriété

Type : System. . :: . .Int32
Int32