ExchangeService.SetRetentionPolicyForItemsInConversations メソッド

定義

会話内のアイテムのアイテム保持ポリシーを設定します。 このSetRetentionPolicyForItemsInConversations(IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>, FolderId, RetentionType, Nullable<Guid>)方法は、Exchange Onlineおよび 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ServiceResponse ^> ^ SetRetentionPolicyForItemsInConversations(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::Exchange::WebServices::Data::ConversationId ^, Nullable<DateTime>>> ^ idLastSyncTimePairs, Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, Microsoft::Exchange::WebServices::Data::RetentionType retentionPolicyType, Nullable<Guid> retentionPolicyTagId);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ServiceResponse> SetRetentionPolicyForItemsInConversations (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.Exchange.WebServices.Data.ConversationId,Nullable<DateTime>>> idLastSyncTimePairs, Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, Microsoft.Exchange.WebServices.Data.RetentionType retentionPolicyType, Nullable<Guid> retentionPolicyTagId);
Public Function SetRetentionPolicyForItemsInConversations (idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, Nullable(Of DateTime))), contextFolderId As FolderId, retentionPolicyType As RetentionType, retentionPolicyTagId As Nullable(Of Guid)) As ServiceResponseCollection(Of ServiceResponse)

パラメーター

idLastSyncTimePairs
IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>

更新する必要がある会話を決定するために使用される会話 ID と関連するタイム スタンプのコレクション。

contextFolderId
FolderId

会話を含むフォルダーの ID。

retentionPolicyType
RetentionType

タグ付けされたアイテムはアーカイブまたは削除されます。

retentionPolicyTagId
Nullable<Guid>

アイテム保持ポリシー タグ ID。 参照を null 参照 (Visual Basic では Nothing) に設定すると、ポリシーがクリアされます。

戻り値

適用されたアイテム保持ポリシーの変更の結果。

注釈

このメソッドを呼び出すと、Exchange Web Services (EWS) マネージ API が呼び出されます。

適用対象