Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Namespace:  Microsoft.Exchange.WebServices.Data
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.

Calling this method results in a call to Exchange Web Services (EWS).

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.