ExchangeServiceBinding.DeleteAttachmentAsync 方法 (, Object)
从Microsoft Exchange Server 2007数据存储区中的现有项以异步方式删除文件和项的附件。
命名空间: Microsoft.SharePoint.Portal.WebControls
程序集: Microsoft.SharePoint.Portal(位于 Microsoft.SharePoint.Portal.dll 中)
语法
声明
Public Sub DeleteAttachmentAsync ( _
DeleteAttachment1 As DeleteAttachmentType, _
userState As Object _
)
用法
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
Dim userState As Object
instance.DeleteAttachmentAsync(DeleteAttachment1, _
userState)
public void DeleteAttachmentAsync(
DeleteAttachmentType DeleteAttachment1,
Object userState
)
参数
DeleteAttachment1
类型:DeleteAttachmentType要从另一个项目中删除一个文件或项目附件。
- userState
类型:System.Object