Volume.TotalSpaceUsed Propiedad
Gets the total used storage on the volume in megabytes.
Espacio de nombres: Microsoft.SqlServer.Management.Utility
Ensamblado: Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property TotalSpaceUsed As Single
Get
'Uso
Dim instance As Volume
Dim value As Single
value = instance.TotalSpaceUsed
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public float TotalSpaceUsed { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property float TotalSpaceUsed {
float get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member TotalSpaceUsed : float32
function get TotalSpaceUsed () : float
Valor de la propiedad
Tipo: System.Single
A Double object value that represents the total used storage on the volume in megabytes.
Ejemplos
VC#
System.Console.WriteLine(volume.TotalSpaceUsed);
VB
System.Console.WriteLine(volume.TotalSpaceUsed)
PowerShell
Write-Host $volume.TotalSpaceUsed