IContactsAndGroupsManager.Search Method

Searches for contacts/distribution groups that match the given search value.

Namespace:  UCCollaborationLib
Assembly:  Microsoft.Office.Uc (in Microsoft.Office.Uc.dll)

Syntax

HRESULT Search
(
   BSTR searchString,
   SearchProviders providers,
   SearchFields searchFields,
   SearchOptions searchOptions,
   ULONG maxResults,
   IUnknown* contactsAndGroupsCallback,
   VARIANT state,
   IAsynchronousOperation** asyncOperation
);

Parameters

  • searchString
    Type: String
    A value of the BSTR type.
  • maxResults
    Type: UInt32
    A value of the ULONG type. The default value is 30.
  • contactsAndGroupsCallback
    Type: Object
    A value of the IUnknown type. The default value is NULL.
  • state
    Type: Object
    A value of the VARIANT type.

Return Value

A value of the IAsynchronousOperation** (IAsynchronousOperation, for a .NET application) type.

See Also

IContactsAndGroupsManager Interface

UCCollaborationLib Namespace