IRTCUserSearchQuery::SearchTerm

This method sets or gets the value associated with the name of a search term for this query.

HRESULT put_SearchTerm(
  BSTR bstrName,
  BSTR bstrValue
);
HRESULT get_SearchTerm(
  BSTR bstrName,
  BSTR* pbstrValue
);

Parameters

  • bstrName
    [in] The name of the search term. Search terms can be any user or profile attributes defined on the server for use with search queries. Additionally, the following table shows two macros that are defined for use with the Microsoft RTC server.

    Value Description
    msRTCMail Searches for the user's e-mail address.
    msRTCURI Searches for the user's SIP URI.
  • bstrValue, pbstrValue
    [in, out] The value of the search term. On output, this parameter is a pointer to a BSTR that will be filled with the search term. The method allocates the buffer. The caller is responsible for releasing this memory with SysFreeString.

Return Values

This method can return an RTC_E_ constant.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

Communications Service | IRTCUserSearchQuery | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.