DriveState Property
The state of the drive space.
Syntax
[VB.NET] Public ReadOnlyProperty DriveState As OnedriveDriveStates
[C#] public OnedriveDriveStates DriveState {get;}
enum OnedriveDriveStates { qsNormal, qsNearing, qsCritical, qsExceeded }
Remarks
This property holds the state of the drive space. This provides a way to easily determine when a drive is running out of space. Possible values are:
0 (qsNormal) | Drive has sufficient space left. |
1 (qsNearing) | Remaining space is less than 10% of quota. |
2 (qsCritical) | Remaining space is less than 1% of quota. |
3 (qsExceeded) | The quota has been exceeded. Existing files or folders must be deleted before adding new data. |
This property is read-only and not available at design time.
Default Value
0