Właściwość IServerInformation.Processors
Pobiera liczbę procesorów, które są zainstalowane na komputerze, na którym jest uruchomione wystąpienie SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
ReadOnly Property Processors As Integer
Get
'Użycie
Dim instance As IServerInformation
Dim value As Integer
value = instance.Processors
[DisplayNameKeyAttribute("Server_ProcessorsName")]
[DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")]
int Processors { get; }
[DisplayNameKeyAttribute(L"Server_ProcessorsName")]
[DisplayDescriptionKeyAttribute(L"Server_ProcessorsDesc")]
property int Processors {
int get ();
}
[<DisplayNameKeyAttribute("Server_ProcessorsName")>]
[<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")>]
abstract Processors : int
function get Processors () : int
Wartość właściwości
Typ: System.Int32
Int32
Zobacz także