Deleting a Message

Deleting a Message

The Message object’s Delete method deletes the message.

ms528109.787845a5-a0eb-4ef0-a02b-af44a9f76e33(en-us,EXCHG.10).gif

To delete a message

  1. Select the message you want to delete.
  2. Call the Message object’s Delete method.
  3. Set the Message object to Nothing.

You should not try to access the message after deleting it. Doing so can produce unpredictable results.

See Also

Searching for a Message

See Also

Concepts

Programming Tasks