다음을 통해 공유


ExchangeServiceBinding.DeleteAttachmentAsync Method (, 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: DeleteAttachmentType
    A file or item attachment to delete from another item.

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

DeleteAttachmentAsync Overload

Microsoft.SharePoint.Portal.WebControls Namespace