: ExchangeServiceBinding.DeleteAttachment (Método) (Microsoft.SharePoint.Portal.WebControls)
Deletes file and item attachments from an existing item in the Microsoft Exchange Server 2007 data store.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
<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
'Uso
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
)
Parámetros
- DeleteAttachment1
Represents a file or item attachment to delete from another item.
Vea también
Referencia
ExchangeServiceBinding (Clase)
ExchangeServiceBinding (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)