Udostępnij przez


IServerInformation.BuildNumber Property

Gets the build number for the instance of SQL Server. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")> _
<DisplayNameKeyAttribute("Server_BuildNumberName")> _
ReadOnly Property BuildNumber As Integer
[DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")] 
[DisplayNameKeyAttribute("Server_BuildNumberName")] 
int BuildNumber { get; }
[DisplayDescriptionKeyAttribute(L"Server_BuildNumberDesc")] 
[DisplayNameKeyAttribute(L"Server_BuildNumberName")] 
property int BuildNumber {
    int get ();
}
/** @property */
int get_BuildNumber ()
function get BuildNumber () : int

Property Value

Int32

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.