Share via


ManagedInstance.Processors Property

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

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Processors As Integer
    Get
'Usage
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

Property Value

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