다음을 통해 공유


IRTCUserSearchQuery::SearchTerm (Windows CE 5.0)

Send Feedback

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.
  • 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. The following table shows additional return values and additional information about a specific return value.

Value Meaning
E_OUTOFMEMORY Insufficient memory to perform this operation.
E_POINTER The bstrName or bstrValue parameter is not a valid pointer.
RTC_E_NOT_EXIST The search term does not exist.

Requirements

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

See Also

IRTCUserSearchQuery | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.