Свойство ProcessorUtilization
Gets the processor utilization in percentage points.
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ProcessorUtilization As Single
Get
'Применение
Dim instance As DeployedDac
Dim value As Single
value = instance.ProcessorUtilization
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public float ProcessorUtilization { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property float ProcessorUtilization {
float get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ProcessorUtilization : float32
function get ProcessorUtilization () : float
Значение свойства
Тип: System. . :: . .Single
A Double value that specifies the processor utilization in percentage points.
Примеры
VC#
System.Console.WriteLine(deployedDac.ProcessorUtilization);
VB
System.Console.WriteLine(deployedDac.ProcessorUtilization)
PowerShell
Write-Host $deployedDac.ProcessorUtilization