ExchangeService.GetConversationItems method (IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>, Nullable<MailboxSearchLocation>)

EWS Managed API

Gets items associated with a set of conversations. The items retrieved have the additional properties specified and are sorted according to a sort order. The set of items returned may be further limited by selectively ignoring folders in the search hierarchy and whether the target mailboxes are primary, archive, or both.

The GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>, Nullable<MailboxSearchLocation>) 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<GetConversationItemsResponse> GetConversationItems(
	IEnumerable<ConversationRequest> conversations,
	PropertySet propertySet,
	IEnumerable<FolderId> foldersToIgnore,
	Nullable<ConversationSortOrder> sortOrder,
	Nullable<MailboxSearchLocation> mailboxScope
)

Parameters

conversations
Type: System.Collections.Generic.IEnumerable<ConversationRequest>

Conversations with items to load.

propertySet
Type: Microsoft.Exchange.WebServices.Data.PropertySet

The set of additional properties to be returned in the response.

foldersToIgnore
Type: System.Collections.Generic.IEnumerable<FolderId>

The folders in the search hierarchy to ignore.

sortOrder
Type: System.Nullable<ConversationSortOrder>

The property and item sort order direction used to sort the results.

mailboxScope
Type: System.Nullable<MailboxSearchLocation>

The mailbox scope to reference.

Show:
© 2014 Microsoft