Conversation.DeleteItems method

EWS Managed API

Deletes items in the conversation.

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

'Declaration
PublicSubDeleteItems ( _
	contextFolderIdAsFolderId, _
	deleteModeAsDeleteMode _
)
'Usage
DiminstanceAsConversationDimcontextFolderIdAsFolderIdDimdeleteModeAsDeleteMode

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:
© 2014 Microsoft