DriveState Property
The drive's storage quota state.
Syntax
__property TicsOneDriveDriveStates DriveState[int DriveIndex] = { read=FDriveState };
enum TicsOneDriveDriveStates { dsNormal=0, dsNearing=1, dsCritical=2, dsExceeded=3 };
Default Value
dsNormal
Remarks
The drive's storage quota state.
This property reflects the drive's current storage quota state. Possible values are:
0 (dsNormal) | The drive has >= 10% free space remaining. |
1 (dsNearing) | The drive has < 10% free space remaining. |
2 (dsCritical) | The drive has < 1% free space remaining. |
3 (dsExceeded) | The drive has reached or exceeded its storage quota. |
The DriveIndex parameter specifies the index of the item in the array. The size of the array is controlled by the DriveCount property.
This property is read-only and not available at design time.
Data Type
Integer