The NumberOfProcessors property returns the number of computer processing units (CPUs) available to Microsoft® SQL Server™ on the server.
object.NumberOfProcessors
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
Long
Read-only
HRESULT GetNumberOfProcessors(LPLONG pRetVal);