Compartir a través de


MailItem.SetMustDeliver Method

When overridden in a derived class, the SetMustDeliver method specifies that the message will remain in the queue until it is delivered, without expiring or generating a non-delivery report (NDR). Executing the SetMustDeliver method sets the value of the MustDeliver property to true. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Sub SetMustDeliver
'Usage
Dim instance As MailItem

instance.SetMustDeliver()
public abstract void SetMustDeliver()