ExchangeServiceBinding.DeleteItem(DeleteItemType) Method

Definition

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

public:
 ExchangeWebServices::DeleteItemResponseType ^ DeleteItem(ExchangeWebServices::DeleteItemType ^ DeleteItem1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
public ExchangeWebServices.DeleteItemResponseType DeleteItem (ExchangeWebServices.DeleteItemType DeleteItem1);
Public Function DeleteItem (DeleteItem1 As DeleteItemType) As DeleteItemResponseType

Parameters

DeleteItem1
DeleteItemType

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

Returns

The DeleteItem(DeleteItemType) method returns a DeleteItemResponseType object that contains the status of the DeleteItem operation.

Attributes

Applies to