IServerInformation.BuildNumber 屬性
Gets the build number for the instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayDescriptionKeyAttribute("Server_BuildNumberDesc")> _
<DisplayNameKeyAttribute("Server_BuildNumberName")> _
ReadOnly Property BuildNumber As Integer
Get
'用途
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
屬性值
型別:System.Int32
The build number for the instance of SQL Server.