다음을 통해 공유


EnvelopeRecipientCollection.Remove Method (EnvelopeRecipient, DsnType, SmtpResponse)

When overridden in a derived class, the Remove method removes a recipient from the collection based on the specified EnvelopeRecipient.

Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public MustOverride Function Remove ( _
    recipient As EnvelopeRecipient, _
    dsnType As DsnType, _
    smtpResponse As SmtpResponse _
) As Boolean
public abstract bool Remove (
    EnvelopeRecipient recipient,
    DsnType dsnType,
    SmtpResponse smtpResponse
)
public:
virtual bool Remove (
    EnvelopeRecipient^ recipient, 
    DsnType dsnType, 
    SmtpResponse smtpResponse
) abstract
public abstract boolean Remove (
    EnvelopeRecipient recipient, 
    DsnType dsnType, 
    SmtpResponse smtpResponse
)
public abstract function Remove (
    recipient : EnvelopeRecipient, 
    dsnType : DsnType, 
    smtpResponse : SmtpResponse
) : boolean

Parameters

  • recipient
    The recipient to remove.
  • dsnType
    One of the DsnType values.

Return Value

The Remove method returns true if the recipient existed in the collection and the recipient was successfully removed; otherwise, the method returns false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003