NumberOfProcessors Property (SQL-DMO)

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

Applies To

Registry Object

Syntax

object.NumberOfProcessors

Part Description
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);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.