ContactServiceSearchContacts Method (SearchContactsWatcher, String, SearchScopeType, SearchSourceType, UInt32, UInt32) |
Search for the contacts with given request parameters. There can be only one search in progress with a particular
string. If such a search already exists, a new one won't be started.
Namespace:
Avaya.ClientServices
Assembly:
AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntaxpublic void SearchContacts(
SearchContactsWatcher watcher,
string searchString,
SearchScopeType searchScopeType,
SearchSourceType searchSourceType,
uint maxResults,
uint maxChunkSize
)
Parameters
- watcher
- Type: Avaya.ClientServicesSearchContactsWatcher
A SearchContactsWatcher object, created by the application, to track the progress of the requested
operation. Prior to calling this method, the application should have installed event handlers on the
watcher object for the events it is interested in. - searchString
- Type: SystemString
The search string, can be first name, last name, or phone number. - searchScopeType
- Type: Avaya.ClientServicesSearchScopeType
Identifies which field or fields to search in. - searchSourceType
- Type: Avaya.ClientServicesSearchSourceType
Determines which contacts will be searched. - maxResults
- Type: SystemUInt32
The maximum number of results to return. - maxChunkSize
- Type: SystemUInt32
The number of results to return in each update from the server.
See Also