ExchangeServiceBinding.DeleteAttachment(DeleteAttachmentType) Method

Definition

The DeleteAttachment(DeleteAttachmentType) method sends the request to and gets the response from a DeleteAttachment operation.

C#
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteAttachment", 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("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ExchangeWebServices.DeleteAttachmentResponseType DeleteAttachment (ExchangeWebServices.DeleteAttachmentType DeleteAttachment1);

Parameters

DeleteAttachment1
DeleteAttachmentType

An instance of the DeleteAttachmentType class that represents the set of attachments to delete.

Returns

The DeleteAttachment(DeleteAttachmentType) method returns a DeleteAttachmentResponseType object that contains the status of the DeleteAttachment operation.

Attributes

Applies to

Product Versions
Exchange EWS proxy Latest