Partager via


Propriété Processors

Gets the number of processors for the managed instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Processors As Integer
    Get
'Utilisation
Dim instance As ManagedInstance
Dim value As Integer

value = instance.Processors
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int Processors { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int Processors {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member Processors : int
function get Processors () : int

Valeur de propriété

Type : System. . :: . .Int32
An Int32 that contains the number of processors for the managed instance of SQL Server.