Для изменения размера нажмите или перетащите

ExchangeServiceSetRetentionPolicyForItemsInConversations - метод

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

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

Параметры

idLastSyncTimePairs
Тип: System.Collections.GenericIEnumerableKeyValuePairConversationId, 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
Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder that contains the conversation.
retentionPolicyType
Тип: Tessa.Exchange.WebServices.DataRetentionType
Retention policy type.
retentionPolicyTagId
Тип: SystemNullableGuid
Retention policy tag id. Null will clear the policy.
token (Optional)
Тип: System.ThreadingCancellationToken

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

Тип: TaskServiceResponseCollectionServiceResponse
См. также