共用方式為


SPIncomingEmailService.RetryDeliveryInterval Property

Gets or sets the maximum duration, in hours, that undelivered messages remain in the drop folder before being deleted.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property RetryDeliveryInterval As Integer
    Get
    Set
'Usage
Dim instance As SPIncomingEmailService
Dim value As Integer

value = instance.RetryDeliveryInterval

instance.RetryDeliveryInterval = value
public int RetryDeliveryInterval { get; set; }

Property Value

Type: System.Int32
The maximum duration, in hours.

Remarks

The default value for this property is 24 hours, or one day.

See Also

Reference

SPIncomingEmailService Class

SPIncomingEmailService Members

Microsoft.SharePoint.Administration Namespace