DriveState Property
The state of the drive space.
Syntax
__property TicsOneDriveDriveStates DriveState = {read=FDriveState, write=FSetDriveState};
enum TicsOneDriveDriveStates { qsNormal=0, qsNearing=1, qsCritical=2, qsExceeded=3 };
Default Value
0
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.
Data Type
Integer