Share via


TransportServer.QueueMaxIdleTime property

Gets or sets the period of time that an empty queue can exist before the queue is removed.

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

Syntax

'Declaration
Public Property QueueMaxIdleTime As EnhancedTimeSpan
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As EnhancedTimeSpan

value = instance.QueueMaxIdleTime

instance.QueueMaxIdleTime = value
public EnhancedTimeSpan QueueMaxIdleTime { get; set; }

Property value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The period of time that an empty queue can exist before the queue is removed. The default value is 3 minutes.

Remarks

The QueueMaxIdleTime property is the period of time that an empty mailbox delivery queue or an empty remote delivery queue can exist before the queue is removed.

The value of the QueueMaxIdleTime property is a time span in the form dd.hh:mm:ss, where d = days, h = hours, m = minutes, and s = seconds. For example, to set the idle time to 5 minutes, set the time span to 00.00:05:00.

The default value is 3 minutes. The value for the QueueMaxIdleTime property must be between 5 seconds (00.00:00:05) and 1 hour (00.01:00:00).

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace