Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the space used as a percentage of the total storage capacity of the volume.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property TotalSpaceUtilization As Single
Get
'Usage
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
Property Value
Type: System.Single
A Double object value that specifies the spaced used as a percentage of the total storage capacity of the volume.
Examples
VC#
System.Console.WriteLine(volume.TotalSpaceUtilization);
VB
System.Console.WriteLine(volume.TotalSpace)
PowerShell
Write-Host $volume.TotalSpace