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) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public Task<ServiceResponseCollection<ServiceResponse>> SetRetentionPolicyForItemsInConversations(
IEnumerable<KeyValuePair<ConversationId, DateTime?>> idLastSyncTimePairs,
FolderId contextFolderId,
RetentionType retentionPolicyType,
Guid? retentionPolicyTagId,
CancellationToken token = default
)
Public Function SetRetentionPolicyForItemsInConversations (
idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, DateTime?)),
contextFolderId As FolderId,
retentionPolicyType As RetentionType,
retentionPolicyTagId As Guid?,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of ServiceResponse))
public:
Task<ServiceResponseCollection<ServiceResponse^>^>^ SetRetentionPolicyForItemsInConversations(
IEnumerable<KeyValuePair<ConversationId^, Nullable<DateTime>>>^ idLastSyncTimePairs,
FolderId^ contextFolderId,
RetentionType retentionPolicyType,
Nullable<Guid> retentionPolicyTagId,
CancellationToken token = CancellationToken()
)
member SetRetentionPolicyForItemsInConversations :
idLastSyncTimePairs : IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>> *
contextFolderId : FolderId *
retentionPolicyType : RetentionType *
retentionPolicyTagId : Nullable<Guid> *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<ServiceResponse>>
- 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