ExchangeService.SetFlagStatusForItemsInConversations method
EWS Managed API
Sets the flag status of items in conversations.
The SetFlagStatusForItemsInConversations(IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>>, FolderId, Flag) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Assembly: Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
'Declaration Public Function SetFlagStatusForItemsInConversations ( _ idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, Nullable(Of DateTime))), _ contextFolderId As FolderId, _ flagStatus As Flag _ ) As ServiceResponseCollection(Of ServiceResponse) 'Usage Dim instance As ExchangeService Dim idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, Nullable(Of DateTime))) Dim contextFolderId As FolderId Dim flagStatus As Flag Dim returnValue As ServiceResponseCollection(Of ServiceResponse) returnValue = instance.SetFlagStatusForItemsInConversations(idLastSyncTimePairs, _ contextFolderId, flagStatus)
Parameters
- idLastSyncTimePairs
- Type: System.Collections.Generic.IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>>
A collection of conversation IDs and an associated time stamp used to determine which conversations need to be updated.
- contextFolderId
- Type: Microsoft.Exchange.WebServices.Data.FolderId
The ID of the folder that contains the conversation.
- flagStatus
- Type: Microsoft.Exchange.WebServices.Data.Flag
The ConversationFlagStatus enumeration value to apply to conversation items.
Return value
Type: Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<ServiceResponse>The updated flag status.