Condividi tramite


Proprietà IServerInformation.Processors

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
ReadOnly Property Processors As Integer 
    Get
'Utilizzo
Dim instance As IServerInformation 
Dim value As Integer 

value = instance.Processors
[DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")]
[DisplayNameKeyAttribute("Server_ProcessorsName")]
int Processors { get; }
[DisplayDescriptionKeyAttribute(L"Server_ProcessorsDesc")]
[DisplayNameKeyAttribute(L"Server_ProcessorsName")]
property int Processors {
    int get ();
}
[<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")>]
[<DisplayNameKeyAttribute("Server_ProcessorsName")>]
abstract Processors : int
function get Processors () : int

Valore proprietà

Tipo: System.Int32
The number of processors that are installed on the computer that is running the instance of SQL Server.

Vedere anche

Riferimento

IServerInformation Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo