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