Collapse the table of content
Expand the table of content
Expand Minimize

ExchangeService.SetFlagStatusForItemsInConversations method

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)

public ServiceResponseCollection<ServiceResponse> SetFlagStatusForItemsInConversations(
	IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>> idLastSyncTimePairs,
	FolderId contextFolderId,
	Flag 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).

Show:
© 2015 Microsoft