Share via


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

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

DeleteAttachmentAsync Overload

Microsoft.SharePoint.Portal.WebControls Namespace