Edit

Share via


ExchangeServiceBinding.DeleteAttachment(DeleteAttachmentType) Method

Definition

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

public:
 ExchangeWebServices::DeleteAttachmentResponseType ^ DeleteAttachment(ExchangeWebServices::DeleteAttachmentType ^ DeleteAttachment1);
[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);
Public Function DeleteAttachment (DeleteAttachment1 As DeleteAttachmentType) As DeleteAttachmentResponseType

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