Share via


HardLimit Property

HardLimit Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The HardLimit property specifies the maximum mailbox size, in kilobytes, above which posting messages to the mailbox is disabled.

Syntax

[Visual Basic]Property HardLimit As Long

[C++]HRESULT get_HardLimit(longpVal);
HRESULT put_HardLimit(long Val);

Parameters

  • pVal
    Returns the value of the HardLimit property as a reference to a long.
  • Val
    Sets the value of the HardLimit property to the value of the long.

Remarks

If this value is -1, there is no specific limit to the mailbox size.

The HardLimit property works with the other mailbox quota limits. In normal operation the limits are reached in the following order as the mailbox fills up.

  1. StoreQuota Property is reached first, and specifies the mailbox size when the mailbox owner will be warned they are about to reach one of the more restrictive limits. The mailbox can send and receive messages normally.
  2. OverQuotaLimit Property specifies the next higher quota limit. When the mailbox size is larger than this property, the user will not be allowed to send any messages until they have reduced the size of their mailbox. The mailbox can still receive messages, however.
  3. HardLimit property specifies the maximum allowed size of the mailbox. When a mailbox reaches this size, no messages can be send or received by the mailbox until its size has been reduced below the HardLimit property.

After one of the limits has been exceeded, e-mail messages or other stored information must be removed from the mailbox until the size is below the quota value. Depending on mailbox replication times, backup-before-delete settings, data retention policies and other settings, there may be some delay between when a user marks an item for deletion and when the space is actually available to the mailbox.

See StoreQuota Property and OverQuotaLimit Property for related information.

Note  IMailboxStoreDB quota values apply to all mailboxes in the store. However, these values can be individually overridden in the IMailBoxStore Interface.

Example

See the IMailboxStore Hardlimit Property.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

This topic last updated: December 2003

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.