ExchangeServiceBinding.DeleteAttachmentAsync Method (DeleteAttachmentType)
Deletes file and item attachments asynchronously 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 Sub DeleteAttachmentAsync ( _
DeleteAttachment1 As DeleteAttachmentType _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
instance.DeleteAttachmentAsync(DeleteAttachment1)
public void DeleteAttachmentAsync(
DeleteAttachmentType DeleteAttachment1
)
Parameters
- DeleteAttachment1
Type: Microsoft.SharePoint.Portal.WebControls.DeleteAttachmentType
A file or item attachment to delete from another item.
See Also
Reference
ExchangeServiceBinding Members