ExchangeServiceBinding.DeleteAttachment Method
Deletes file and item attachments from an existing item in the Microsoft Exchange Server 2007 data store.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function DeleteAttachment ( _
DeleteAttachment1 As DeleteAttachmentType _
) As DeleteAttachmentResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
Dim returnValue As DeleteAttachmentResponseType
returnValue = instance.DeleteAttachment(DeleteAttachment1)
public DeleteAttachmentResponseType DeleteAttachment(
DeleteAttachmentType DeleteAttachment1
)
Parameters
- DeleteAttachment1
Type: DeleteAttachmentType
Represents a file or item attachment to delete from another item.
Return Value
Type: DeleteAttachmentResponseType