Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FindItems method (WellKnownFolderName, String, ViewBase, Grouping)

ExchangeService.FindItems method (WellKnownFolderName, String, ViewBase, Grouping)

Returns grouped items from a target folder using the associated query with the specified preview page view.

The FindItems(WellKnownFolderName, String, ViewBase, Grouping) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2010.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public GroupedFindItemsResults<Item> FindItems(
	WellKnownFolderName parentFolderName,
	string queryString,
	ViewBase view,
	Grouping groupBy
)

Parameters

parentFolderName
Type: Microsoft.Exchange.WebServices.Data.WellKnownFolderName

The name of the folder in which to search for items.

queryString
Type: System.String

The query used to specify the search.

view
Type: Microsoft.Exchange.WebServices.Data.ViewBase

A value that determines the number of items per preview page.

groupBy
Type: Microsoft.Exchange.WebServices.Data.Grouping

Specifies the grouping for items returned by the search query.

Return value

Type: Microsoft.Exchange.WebServices.Data.GroupedFindItemsResults<Item>
A collection of items.

Calling this method results in a call to Exchange Web Services (EWS).

Show:
© 2015 Microsoft