GetConversationItems method (IEnumerable(ConversationRequest), PropertySet, IEnumerable(FolderId), Nullable(ConversationSortOrder))

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

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
Public Function GetConversationItems ( _
	conversations As IEnumerable(Of ConversationRequest), _
	propertySet As PropertySet, _
	foldersToIgnore As IEnumerable(Of FolderId), _
	sortOrder As Nullable(Of ConversationSortOrder) _
) As ServiceResponseCollection(Of GetConversationItemsResponse)
'Usage
Dim instance As ExchangeService
Dim conversations As IEnumerable(Of ConversationRequest)
Dim propertySet As PropertySet
Dim foldersToIgnore As IEnumerable(Of FolderId)
Dim sortOrder As Nullable(Of ConversationSortOrder)
Dim returnValue As ServiceResponseCollection(Of GetConversationItemsResponse)

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:
© 2016 Microsoft