Condividi tramite


Proprietà 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
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
ReadOnly Property Processors As Integer
    Get
'Utilizzo
Dim instance As IServerInformation
Dim value As Integer

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

Valore proprietà

Tipo: System. . :: . .Int32
Int32