다음을 통해 공유


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