Table of Contents

Class WindowsDiskQuotaEntry

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the disk quota usage entry of an individual user or group.

public class WindowsDiskQuotaEntry : GlobalSerializableClassicBase, IComparable<WindowsDiskQuotaEntry>
Inheritance
WindowsDiskQuotaEntry
Implements

Constructors

WindowsDiskQuotaEntry()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsDiskQuotaEntry class.

public WindowsDiskQuotaEntry()

Properties

AccountName

Gets or sets the user or group name in the format "domain\user".

public string AccountName { get; set; }

Property Value

string

DiskSpaceUsed

Gets or sets the disk space used in KB by this user or group.

public ulong DiskSpaceUsed { get; set; }

Property Value

ulong

Remarks

This property is ignored by the data comparer as it is considered volatile.

DiskSpaceUsedString

Gets the disk space used for this user or group in a human readable format.

public string DiskSpaceUsedString { get; set; }

Property Value

string

Limit

Gets or sets the disk space limit in KB for this user or group. A value of 0 represents no limit.

public ulong Limit { get; set; }

Property Value

ulong

LimitString

Gets the disk space limit for this user or group.

public string LimitString { get; set; }

Property Value

string

QuotaStatus

Gets or sets the status of this quota entry.

public QuotaEntryStatus QuotaStatus { get; set; }

Property Value

QuotaEntryStatus

QuotaStatusString

Gets the status of this quota entry as a human readable string.

public string QuotaStatusString { get; set; }

Property Value

string

WarningLimit

Gets or sets the disk space limit in KB at which a warning is issued for this user or group. A value of 0 represents no limit.

public ulong WarningLimit { get; set; }

Property Value

ulong

WarningLimitString

Gets the disk space limit at which a warning is issued for this user or group.

public string WarningLimitString { get; set; }

Property Value

string

Methods

CompareTo(WindowsDiskQuotaEntry)

Compares two CENTREL.XIA.Configuration.Types.WindowsDiskQuotaEntry objects to allow sorting alphabetically by account name.

public int CompareTo(WindowsDiskQuotaEntry other)

Parameters

other WindowsDiskQuotaEntry

The CENTREL.XIA.Configuration.Types.WindowsDiskQuotaEntry to compare to.

Returns

int

The sort order of the CENTREL.XIA.Configuration.Types.WindowsDiskQuotaEntry objects.

ToString()

Returns the user or group name in the format "domain\user".

public override string ToString()

Returns

string

The account name of the quota entry.