DeployedDac.ProcessorUtilization 属性

定义

获取处理器利用率(百分比)。

public:
 property float ProcessorUtilization { float get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)]
public float ProcessorUtilization { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)>]
member this.ProcessorUtilization : single
Public ReadOnly Property ProcessorUtilization As Single

属性值

一个 Double 值,该值指定处理器利用率(百分比)。

属性

示例

Vc#

System.Console.WriteLine(deployedDac.ProcessorUtilization);  

VB

System.Console.WriteLine(deployedDac.ProcessorUtilization)  

PowerShell

Write-Host $deployedDac.ProcessorUtilization   

适用于