This topic has not yet been rated - Rate this topic

ExchangeService.FindItems method (FolderId, SearchFilter, ViewBase)

EWS Managed API

Returns items from a target folder filtered by item type with the specified preview page view.

The FindItems(FolderId, SearchFilter, ViewBase) 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 FindItemsResults<Item> FindItems(
	FolderId parentFolderId,
	SearchFilter searchFilter,
	ViewBase view
)

Parameters

parentFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId
The ID of the folder in which to search for items.
searchFilter
Type: Microsoft.Exchange.WebServices.Data.SearchFilter
The filter used to narrow search results.
view
Type: Microsoft.Exchange.WebServices.Data.ViewBase
A value that determines the number of items per preview page.

Return value

Type: Microsoft.Exchange.WebServices.Data.FindItemsResults<Item>
A collection of 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.