IRTCUserSearchQuery::put_SearchTerm
The put_SearchTerm method sets the value of a search term for the query. This method sets the search term returned in IRTCUserSearchQuery::get_SearchTerm.
HRESULT put_SearchTerm(BSTRbstrName,
BSTRbstrValue);
Parameters
- bstrName
[in] String value that contains the name of the search term to set. Search terms may be any user or profile attributes defined on the server for use with search queries. - bstrValue
[in] String value that contains the value of the search term.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_OUTOFMEMORY | Insufficient memory to perform this operation. |
E_POINTER | The bstrName or bstrValue parameter is not a valid pointer. |
Requirements
Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCUserSearchQuery is defined as 288300F5-D23A-4365-9A73-9985C98C2881.
See Also
IRTCUserSearchQuery, IRTCUserSearchQuery::get_SearchTerms, IRTCUserSearchQuery::get_SearchTerm, Create and Send a Search Request