Table of Contents

Class WindowsDiskQuotaSettings

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

Represents the disk quota settings configured on a Windows machine.

public class WindowsDiskQuotaSettings : BypassSection
Inheritance
WindowsDiskQuotaSettings
Inherited Members

Remarks

Disk quotas were introduced in Windows Server 2000 and should not be confused with folder (directory) quotas provided by File Server Resource Manager (FSRM) in Windows 2003 R2 and above.

Constructors

WindowsDiskQuotaSettings()

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

public WindowsDiskQuotaSettings()

Properties

Items

Gets or sets the items in the collection.

public WindowsDiskQuotaSettingCollection Items { get; set; }

Property Value

WindowsDiskQuotaSettingCollection

Methods

FindByDriveLetter(string)

Returns the disk quota settings for the specified drive letter.

public WindowsDiskQuotaSetting FindByDriveLetter(string driveLetter)

Parameters

driveLetter string

The drive letter of the volume to locate - for example "D", "D:" or "D:".

Returns

WindowsDiskQuotaSetting

The disk quota settings for the specified drive letter or null if no disk quota settings for that drive letter is found.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.WindowsDiskQuotaSettings class from the specified XML.

public static WindowsDiskQuotaSettings FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

WindowsDiskQuotaSettings

A CENTREL.XIA.Configuration.Types.WindowsDiskQuotaSettings class.

ToString()

Returns the disk quota settings as a human readble string - for example "5 Disk Quotas" or "{Not Documented}".

public override string ToString()

Returns

string

The disk quota settings as a human readble string.