ExchangeServiceResolveName(String, IEnumerableFolderId, ResolveNameSearchLocation, Boolean, PropertySet, CancellationToken) - метод

Finds contacts in the Global Address List and/or in specific contact folders that have names that match the one passed as a parameter. Calling this method results in a call to EWS.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
C#
public Task<NameResolutionCollection> ResolveName(
	string nameToResolve,
	IEnumerable<FolderId> parentFolderIds,
	ResolveNameSearchLocation searchScope,
	bool returnContactDetails,
	PropertySet contactDataPropertySet,
	CancellationToken token = default
)

Параметры

nameToResolve  String
The name to resolve.
parentFolderIds  IEnumerableFolderId
The Ids of the contact folders in which to look for matching contacts.
searchScope  ResolveNameSearchLocation
The scope of the search.
returnContactDetails  Boolean
Indicates whether full contact information should be returned for each of the found contacts.
contactDataPropertySet  PropertySet
The property set for the contct details
token  CancellationToken  (Optional)
 

Возвращаемое значение

TaskNameResolutionCollection
A collection of name resolutions whose names match the one passed as a parameter.

См. также