Поделиться через


Свойство Processors

Gets the number of processors that are installed on the computer that is running the instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
ReadOnly Property Processors As Integer
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .Int32
Int32