Partager via


Drive.Capacity Property

 

Gets the total capacity of the drive in bytes.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)

Syntax

public ulong Capacity { get; internal set; }
public:
property unsigned long long Capacity {
    unsigned long long get();
    internal: void set(unsigned long long value);
}
Public Property Capacity As ULong
    Get
    Friend Set
End Property

Property Value

Type: System.UInt64

The total capacity of the drive.

See Also

Drive Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top