Share via


Mailbox.ArchiveQuota property

Gets or sets the maximum size of the archive mailbox.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Property ArchiveQuota As Unlimited(Of ByteQuantifiedSize)
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As Unlimited(Of ByteQuantifiedSize)

value = instance.ArchiveQuota

instance.ArchiveQuota = value
public Unlimited<ByteQuantifiedSize> ArchiveQuota { get; set; }

Property value

Type: Microsoft.Exchange.Data.Unlimited<ByteQuantifiedSize>
The maximum size of the archive mailbox.

Remarks

The ArchiveQuota property specifies the size limit for the archive mailbox. After this size limit is reached, no more mail messages will be archived.

When you enter a value, you can qualify it with one of the following units.

  • B (bytes)

  • KB (kilobytes)

  • MB (megabytes)

  • GB (gigabytes)

  • TB (terabytes)

Unqualified values are treated as bytes.

The valid values of the ArchiveQuota property are 1 byte to 9,223,372,036,854,775,807 bytes (8 exabytes). The ArchiveQuota property must be greater than the ArchiveWarningQuota property.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace