ExchangeService.SetRetentionPolicyForItemsInConversations - метод

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.24
C#
public Task<ServiceResponseCollection<ServiceResponse>> SetRetentionPolicyForItemsInConversations(
	IEnumerable<KeyValuePair<ConversationId, DateTime?>> idLastSyncTimePairs,
	FolderId contextFolderId,
	RetentionType retentionPolicyType,
	Guid? retentionPolicyTagId,
	CancellationToken token = default
)

Параметры

idLastSyncTimePairs  IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>>
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  Nullable<Guid>
Retention policy tag id. Null will clear the policy.
token  CancellationToken  (Optional)
 

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

Task<ServiceResponseCollection<ServiceResponse>>

См. также