Sdílet prostřednictvím


Server.Processors Property

Gets the Processors property value.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property Processors As Integer
    Get
'Usage
Dim instance As Server
Dim value As Integer

value = instance.Processors
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public int Processors { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
virtual property int Processors {
    int get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
abstract Processors : int
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
override Processors : int
final function get Processors () : int

Property Value

Type: System.Int32
Int32

Implements

IServerInformation.Processors