Share via


IServerInformation.Processors Property

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

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
ReadOnly Property Processors As Integer
    Get
'Usage
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

Property Value

Type: System.Int32
Int32