Export (0) Print
Expand All

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

EWS Managed API

Gets the items associated with a set of conversations. The items retrieved have the specified additional properties and are sorted according to a sort order. The items returned are limited by selectively ignoring folders in the search hierarchy.

The GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>) 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
PublicFunctionGetConversationItems ( _
	conversationsAsIEnumerable(OfConversationRequest), _
	propertySetAsPropertySet, _
	foldersToIgnoreAsIEnumerable(OfFolderId), _
	sortOrderAsNullable(OfConversationSortOrder) _
) AsServiceResponseCollection(OfGetConversationItemsResponse)
'Usage
DiminstanceAsExchangeServiceDimconversationsAsIEnumerable(OfConversationRequest)
DimpropertySetAsPropertySetDimfoldersToIgnoreAsIEnumerable(OfFolderId)
DimsortOrderAsNullable(OfConversationSortOrder)
DimreturnValueAsServiceResponseCollection(OfGetConversationItemsResponse)

returnValue = instance.GetConversationItems(conversations, _
	propertySet, foldersToIgnore, sortOrder)

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.

Show:
© 2014 Microsoft