Export (0) Print
Expand All

ExchangeService.ResolveName method (String, IEnumerable<FolderId>, ResolveNameSearchLocation, Boolean, PropertySet)

Finds contacts in the Global Address List (GAL) and/or in specific contact folders whose names match the specified name.

This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.

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

public NameResolutionCollection ResolveName(
	string nameToResolve,
	IEnumerable<FolderId> parentFolderIds,
	ResolveNameSearchLocation searchScope,
	bool returnContactDetails,
	PropertySet contactDataPropertySet
)

Parameters

nameToResolve
Type: System.String

The name to be resolved.

parentFolderIds
Type: System.Collections.Generic.IEnumerable<FolderId>

The IDs of the contact folders to be searched for matching contacts.

searchScope
Type: Microsoft.Exchange.WebServices.Data.ResolveNameSearchLocation

The scope of the search.

returnContactDetails
Type: System.Boolean

true if full contact information is to be returned for each of the found contacts; otherwise, false.

contactDataPropertySet
Type: Microsoft.Exchange.WebServices.Data.PropertySet

The property set for the contact details.

Return value

Type: Microsoft.Exchange.WebServices.Data.NameResolutionCollection
A collection of name resolutions whose names match the specified name.

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

Show:
© 2015 Microsoft