IServerInformation.Processors Property
Gets the number of processors that are installed on the computer that is running the instance of SQL Server. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
ReadOnly Property Processors As Integer
[DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")]
[DisplayNameKeyAttribute("Server_ProcessorsName")]
int Processors { get; }
[DisplayDescriptionKeyAttribute(L"Server_ProcessorsDesc")]
[DisplayNameKeyAttribute(L"Server_ProcessorsName")]
property int Processors {
int get ();
}
/** @property */
int get_Processors ()
function get Processors () : int
Property Value
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.