다음을 통해 공유


Volume.TotalSpaceUtilization 속성

Gets the space used as a percentage of the total storage capacity of the volume.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property TotalSpaceUtilization As Single 
    Get
‘사용 방법
Dim instance As Volume 
Dim value As Single 

value = instance.TotalSpaceUtilization
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public float TotalSpaceUtilization { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property float TotalSpaceUtilization {
    float get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member TotalSpaceUtilization : float32
function get TotalSpaceUtilization () : float

속성 값

유형: System.Single
A Double object value that specifies the spaced used as a percentage of the total storage capacity of the volume.

VC#

System.Console.WriteLine(volume.TotalSpaceUtilization);

VB

System.Console.WriteLine(volume.TotalSpace)

PowerShell

Write-Host $volume.TotalSpace 

참고 항목

참조

Volume 클래스

Microsoft.SqlServer.Management.Utility 네임스페이스