Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
ContactService Class
ContactService Methods
SearchContacts Method
SearchContacts Method (SearchContactsWatcher, ContactSearchRequest)
SearchContacts Method (SearchContactsWatcher, String, SearchScopeType, SearchSourceType, UInt32, UInt32)

# ContactService SearchContacts 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
Syntax
C#
Copy

    public void SearchContacts(
    	SearchContactsWatcher watcher,
    	string searchString,
    	SearchScopeType searchScopeType,
    	SearchSourceType searchSourceType,
    	uint maxResults,
    	uint maxChunkSize
    )

#### Parameters

watcher
  Type: Avaya.ClientServices
  SearchContactsWatcher
  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: System
  String
  The search string, can be first name, last name, or phone number.
searchScopeType
  Type: Avaya.ClientServices
  SearchScopeType
  Identifies which field or fields to search in.
searchSourceType
  Type: Avaya.ClientServices
  SearchSourceType
  Determines which contacts will be searched.
maxResults
  Type: System
  UInt32
  The maximum number of results to return.
maxChunkSize
  Type: System
  UInt32
  The number of results to return in each update from the server.

See Also

#### Reference

ContactService Class
SearchContacts Overload
Avaya.ClientServices Namespace
ContactService
NetworkSearchContactCapability

© 2017 Avaya LLC. All Rights Reserved.