Share via


Volume.TotalSpaceUtilization Property

Definition

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

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

Property Value

A Double object value that specifies the spaced used as a percentage of the total storage capacity of the volume.

Attributes

Examples

VC#

System.Console.WriteLine(volume.TotalSpaceUtilization);  

VB

System.Console.WriteLine(volume.TotalSpace)  

PowerShell

Write-Host $volume.TotalSpace   

Applies to