IServerInformation.Processors 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("Server_ProcessorsDesc")> _
<DisplayNameKeyAttribute("Server_ProcessorsName")> _
ReadOnly Property Processors As Integer 
    Get
用法
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

属性值

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

请参阅

参考

IServerInformation 接口

Microsoft.SqlServer.Management.Smo 命名空间