Conversation.DeleteItems method

Deletes items in the conversation.

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

'Declaration
Public Sub DeleteItems ( _
	contextFolderId As FolderId, _
	deleteMode As DeleteMode _
)
'Usage
Dim instance As Conversation
Dim contextFolderId As FolderId
Dim deleteMode As DeleteMode

instance.DeleteItems(contextFolderId, _
	deleteMode)

Parameters

contextFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId

The folder identifier of the folder that contains the conversation items to delete. If this argument is set to a null reference (Nothing in Visual Basic), all items in a conversation across an entire mailbox are deleted.

deleteMode
Type: Microsoft.Exchange.WebServices.Data.DeleteMode

The deletion mode.

Calling this method results in a call to Exchange Web Services (EWS).

Show:
© 2015 Microsoft