Partager via


Mailbox.RulesQuota property

Gets or sets the size limit for rules.

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

Syntax

'Declaration
Public Property RulesQuota As ByteQuantifiedSize
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As ByteQuantifiedSize

value = instance.RulesQuota

instance.RulesQuota = value
public ByteQuantifiedSize RulesQuota { get; set; }

Property value

Type: Microsoft.Exchange.Data.ByteQuantifiedSize
The size limit for rules. The default us 64 KB.

Remarks

The RulesQuota property specifies the size limit for mailbox rules.

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.

Note

The quota for mailbox rules applies only to enabled rules. There is no restriction on the number of disabled rules a mailbox can have. However, the total size of rules that are enabled or active can't exceed the value specified for this parameter.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace