NumberOfProcessors Property

SQL-DMO

SQL-DMO

NumberOfProcessors Property

The NumberOfProcessors property returns the number of central processing units (CPUs) available to Microsoft® SQL Server™ 2000 on the server.

Applies To
Registry Object
Syntax

object.NumberOfProcessors

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetNumberOfProcessors(LPLONG pRetVal);