ExchangeService.EnableAlwaysDeleteItemsInConversations 方法

定义

启用将项目从指定对话自动移动到“已删除邮件”文件夹。

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ServiceResponse ^> ^ EnableAlwaysDeleteItemsInConversations(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ConversationId ^> ^ conversationId, bool processSynchronously);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ServiceResponse> EnableAlwaysDeleteItemsInConversations (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ConversationId> conversationId, bool processSynchronously);
Public Function EnableAlwaysDeleteItemsInConversations (conversationId As IEnumerable(Of ConversationId), processSynchronously As Boolean) As ServiceResponseCollection(Of ServiceResponse)

参数

conversationId
IEnumerable<ConversationId>

会话标识符。

processSynchronously
Boolean

如果 该方法在完成启用自动将项目从指定对话移动到“已删除邮件”文件夹并将现有项目从会话移动到“已删除邮件”文件夹后返回,则为 true;否则, 如果为 false ,则指示方法将立即返回。

返回

响应的集合。

注解

调用此方法会导致调用 Exchange Web Services (EWS) 。

适用于