SearchResultsBaseWebPart.FixedQuery Property
Gets or sets a fixed query for the federated results Web Part.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property FixedQuery As String
Get
Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As String
value = instance.FixedQuery
instance.FixedQuery = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string FixedQuery { get; set; }
Property Value
Type: System.String
A string specifying the fixed query.
Remarks
Use the Enterprise Search Keyword Syntax Reference to construct the fixed query.
See Also
Reference
SearchResultsBaseWebPart Class