Export (0) Print
Expand All
Expand Minimize

ExchangeServiceBinding.DeleteItem method

The DeleteItem method sends the request to and gets the response from a DeleteItem operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("MailboxCulture")]
public DeleteItemResponseType DeleteItem(
	DeleteItemType DeleteItem1
)

Parameters

DeleteItem1
Type: ExchangeWebServices.DeleteItemType

An instance of the DeleteItemType class that represents the items to delete.

Return value

Type: ExchangeWebServices.DeleteItemResponseType
The DeleteItem method returns a DeleteItemResponseType object that contains the status of the DeleteItem operation.
Show:
© 2015 Microsoft