Export (0) Print
Expand All

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

Returns grouped items filtered by type from the target folder according to the specified preview page view.

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

public GroupedFindItemsResults<Item> FindItems(
	WellKnownFolderName parentFolderName,
	SearchFilter searchFilter,
	ViewBase view,
	Grouping groupBy
)

Parameters

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

The name 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.

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