IRTCUserSearchQuery::put_SearchDomain
The put_SearchDomain method sets the domain a user search will be performed under. This method sets the domain returned in IRTCUserSearchQuery::get_SearchDomain.
HRESULT put_SearchDomain(BSTRpbstrDomain);
Parameters
- pbstrDomain
[in] String value that contains the domain the search should be requested from. If this value is NULL, the domain specified in the associated profile will be used instead. If the value is the empty string "", the function returns E_INVALIDARG.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_OUTOFMEMORY | Insufficient memory to perform this operation. |
E_POINTER | The pbstrDomain parameter is not a valid pointer. |
E_INVALIDARG | The pbstrDomain string is empty. |
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_SearchDomain, Create and Send a Search Request