Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
QueryId Enumeration
Collapse the table of content
Expand the table of content

QueryId Enumeration

Defines the Query identifier (ID) values for the queries displayed by the Web Part.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public enum QueryId

Member nameDescription
Query1Represents the first query on the results page.
Query2Represents the second query on the results page.
Query3Represents the third query on the results page.
Query4Represents the fourth query on the results page.
Query5Represents the fifth query on the results page.

When you display results from multiple queries on the same results page, you specify the Query ID for a particular query in the search Web Part it applies to.

© 2015 Microsoft