Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the total storage capacity of the volume in megabytes.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property TotalSpace As Single
Get
'Usage
Dim instance As Volume
Dim value As Single
value = instance.TotalSpace
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public float TotalSpace { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property float TotalSpace {
float get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member TotalSpace : float32
function get TotalSpace () : float
Eigenschaftswert
Typ: System.Single
A Double object value that represents the total storage capacity of the volume in megabytes.
Beispiele
VC#
System.Console.WriteLine(volume.TotalSpace);
VB
System.Console.WriteLine(volume.TotalSpace)
PowerShell
Write-Host $volume.TotalSpace