Class WindowsDiskQuotaSetting
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual disk quota settings object. Each volume or drive has its own individual quota settings.
public class WindowsDiskQuotaSetting : GlobalSerializableClassicBase, IComparable<WindowsDiskQuotaSetting>
- Inheritance
-
WindowsDiskQuotaSetting
- Implements
Constructors
WindowsDiskQuotaSetting()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsDiskQuotaSetting class.
public WindowsDiskQuotaSetting()
Properties
DefaultLimit
Gets or sets the default space limit for users on this volume. A value of 0 determines there is no limit set.
public ulong DefaultLimit { get; set; }
Property Value
DefaultLimitString
Gets the default limit in a human readable format. NOTE: The quota settings are stored in bytes however quota entries are in KB.
public string DefaultLimitString { get; }
Property Value
DefaultWarningLimit
Gets or sets the default space limit after which users receive a warning on this volume in bytes. A value of 0 determines there is no limit set.
public ulong DefaultWarningLimit { get; set; }
Property Value
DefaultWarningLimitString
Gets the default warning limit as a human readable format. NOTE: The quota settings are in bytes however the quota entries are in KB.
public string DefaultWarningLimitString { get; }
Property Value
DriveLetter
Gets or sets the drive letter which this quota setting applies - for example "C:".
public string DriveLetter { get; set; }
Property Value
Entries
Gets or sets the individual disk quota entries for users and groups on this volume.
public WindowsDiskQuotaEntries Entries { get; set; }
Property Value
ExceededNotification
Gets or sets whether event log entries are written when the user exceeds their limit.
public BooleanOption ExceededNotification { get; set; }
Property Value
State
Gets or sets the configuration state of the quota system on this drive.
public QuotaState State { get; set; }
Property Value
StateString
Gets the configuration state of the quota system on this drive as a human readable string.
public string StateString { get; set; }
Property Value
VolumePath
Gets or sets the volume path for which this quota setting applies - for example "C:".
public string VolumePath { get; set; }
Property Value
WarningExceededNotification
Gets or sets whether event log entries are written when the user exceeds their warning limit.
public BooleanOption WarningExceededNotification { get; set; }
Property Value
Methods
CompareTo(WindowsDiskQuotaSetting)
Compares two CENTREL.XIA.Configuration.Types.WindowsDiskQuotaSetting objects to allow sorting alphabetically by volume name.
public int CompareTo(WindowsDiskQuotaSetting other)
Parameters
other
WindowsDiskQuotaSettingThe CENTREL.XIA.Configuration.Types.WindowsDiskQuotaSetting to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsDiskQuotaSetting objects.
ToString()
Returns the drive letter which this quota setting applies - for example "C:".
public override string ToString()
Returns
- string
The drive letter for this quota.