Partager via


ExchangeServiceBinding.DeleteAttachment, méthode (Microsoft.SharePoint.Portal.WebControls)

Deletes file and item attachments from an existing item in the Microsoft Exchange Server 2007 data store.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteAttachment", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function DeleteAttachment ( _
    DeleteAttachment1 As DeleteAttachmentType _
) As DeleteAttachmentResponseType
'Utilisation
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
Dim returnValue As DeleteAttachmentResponseType

returnValue = instance.DeleteAttachment(DeleteAttachment1)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteAttachment", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
public DeleteAttachmentResponseType DeleteAttachment (
    DeleteAttachmentType DeleteAttachment1
)

Paramètres

  • DeleteAttachment1
    Represents a file or item attachment to delete from another item.

Voir aussi

Référence

ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms