Query Properties

Include Protected Members
Include Inherited Members

The Query type exposes the following members.

Properties

  Name Description
Public property Application Gets the application name for the query request.
Public property AuthenticationType Gets or sets the authentication type for the query.
Public property Culture Gets or sets the locale for the query.
Public property EnableStemming Gets or sets a Boolean value that specifies whether stemming is enabled.
Public property HighlightedSentenceCount Gets or sets the number of sentences to include in the hit-highlighted summary.
Public property Hint Gets or sets the suggested query processor behavior for the query.
Public property IgnoreAllNoiseQuery Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words.
Public property KeywordInclusion Gets or sets a value that specifies whether the query returns results that contain all or any of the specified search terms.
Public property PagingCookie Gets or sets a client-side state cookie that tracks the number of query results filtered out by security trimming.
Public property QueryText Gets or sets the text for the search query.
Public property ResultTypes Gets or sets a value that specifies the search result type.
Public property RowLimit Gets or sets the maximum number of rows returned in the search results.
Public property ServerContext Gets a ServerContext object that provides run-time methods for shared services in Microsoft Office SharePoint Server 2007.
Public property Sid Gets or sets the query’s security identifier (SID).
Public property Site Gets the collection of Web sites associated with the query.
Public property SiteContext Gets or sets the site URL for the search query.
Public property StartRow Gets or sets first row included in the search results.
Public property Timeout Gets or sets the amount of time, in milliseconds, before the query request times out.
Public property TotalRowsExactMinimum Used by Microsoft.Office.Server.Search.WebControls.SearchPagingWebPart to determine the minimum value required for rendering page links.
Public property TrimDuplicates Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.
Public property UrlZone Gets the originating URL zone for the query request.

Top

See Also

Reference

Query Class

Microsoft.Office.Server.Search.Query Namespace