AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortalSearchRequest.SetQuery Method (IFilterClause)

Sets the query associated with this request.

void SetQuery(
IFilterClause filterClause
);

#### Parameters

filterClause
  The `IFilterClause` created from `ISearchFactory`.

#### Remarks

Note: This overrides any query previously set by a call to any version of `SetQuery()`.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | Used in conjunction with BestBets.

#### See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace | IPortalSearchRequest.SetQuery Overload List