ExchangeServiceBinding.DeleteItem(DeleteItemType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for