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.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<NameResolutionCollection> ResolveName(
string nameToResolve,
IEnumerable<FolderId> parentFolderIds,
ResolveNameSearchLocation searchScope,
bool returnContactDetails,
PropertySet contactDataPropertySet,
CancellationToken token = default
)
Public Function ResolveName (
nameToResolve As String,
parentFolderIds As IEnumerable(Of FolderId),
searchScope As ResolveNameSearchLocation,
returnContactDetails As Boolean,
contactDataPropertySet As PropertySet,
Optional token As CancellationToken = Nothing
) As Task(Of NameResolutionCollection)
public:
Task<NameResolutionCollection^>^ ResolveName(
String^ nameToResolve,
IEnumerable<FolderId^>^ parentFolderIds,
ResolveNameSearchLocation searchScope,
bool returnContactDetails,
PropertySet^ contactDataPropertySet,
CancellationToken token = CancellationToken()
)
member ResolveName :
nameToResolve : string *
parentFolderIds : IEnumerable<FolderId> *
searchScope : ResolveNameSearchLocation *
returnContactDetails : bool *
contactDataPropertySet : PropertySet *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<NameResolutionCollection>
Параметры
- nameToResolve
- Тип: SystemString
The name to resolve. - parentFolderIds
- Тип: System.Collections.GenericIEnumerableFolderId
The Ids of the contact folders in which to look for matching contacts. - searchScope
- Тип: Tessa.Exchange.WebServices.DataResolveNameSearchLocation
The scope of the search. - returnContactDetails
- Тип: SystemBoolean
Indicates whether full contact information should be returned for each of the found contacts. - contactDataPropertySet
- Тип: Tessa.Exchange.WebServices.DataPropertySet
The property set for the contct details - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskNameResolutionCollectionA collection of name resolutions whose names match the one passed as a parameter.
См. также