ExchangeServiceSetRetentionPolicyForItemsInConversations - метод

Sets the retention policy for items in conversation. Calling this method would result in call to EWS.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
C#
public Task<ServiceResponseCollection<ServiceResponse>> SetRetentionPolicyForItemsInConversations(
	IEnumerable<KeyValuePair<ConversationId, DateTime?>> idLastSyncTimePairs,
	FolderId contextFolderId,
	RetentionType retentionPolicyType,
	Guid? retentionPolicyTagId,
	CancellationToken token = default
)

Параметры

idLastSyncTimePairs  IEnumerableKeyValuePairConversationId, NullableDateTime
The pairs of Id of conversation whose items should have their retention policy set and the date and time conversation was last synced (Items received after that date will not have their retention policy set).
contextFolderId  FolderId
The Id of the folder that contains the conversation.
retentionPolicyType  RetentionType
Retention policy type.
retentionPolicyTagId  NullableGuid
Retention policy tag id. Null will clear the policy.
token  CancellationToken  (Optional)
 

Возвращаемое значение

TaskServiceResponseCollectionServiceResponse

См. также