共用方式為


KeywordQueryProperties Members

Include Protected Members
Include Inherited Members

Represents the properties for a search query using the Keyword syntax.

The KeywordQueryProperties type exposes the following members.

Constructors

  Name Description
Public method KeywordQueryProperties Initializes a new instance of the KeywordQueryProperties class.

Top

Properties

  Name Description
Public property AuthenticationType Gets or sets the authentication type for the query. (Inherited from QueryProperties.)
Public property CorrelationId (Inherited from QueryProperties.)
Public property Culture Gets or sets the locale for the query. (Inherited from QueryProperties.)
Public property EnableNicknames Gets or sets a Boolean value that specifies whether the exact terms in the search query are used to find matches, or if nicknames are used as well. (Inherited from QueryProperties.)
Public property EnablePhonetic Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches. (Inherited from QueryProperties.)
Public property EnableStemming Gets or sets a Boolean value that specifies whether stemming is enabled. (Inherited from QueryProperties.)
Public property EnableUrlSmashing Gets or sets a Boolean value that specifies whether "URL smashing" (creating a URL by combining the query terms) is enabled.
Public property HiddenConstraints Gets or sets the keyword query’s hidden constraints.
Public property Hint Gets or sets the suggested query processor behavior for the query. (Inherited from QueryProperties.)
Public property HitHighlightedProperties Gets the list of hit-highlighted properties. (Inherited from QueryProperties.)
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. (Inherited from QueryProperties.)
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. (Inherited from QueryProperties.)
Public property QueryText Gets or sets the text for the search query. (Inherited from QueryProperties.)
Public property RankingModelId Gets or sets the ranking model identifier (ID). (Inherited from QueryProperties.)
Public property RefinementFilters
Public property ResultTypes Gets or sets a value that specifies the search result type. (Inherited from QueryProperties.)
Public property RowLimit Gets or sets the maximum number of rows returned in the search results. (Inherited from QueryProperties.)
Public property RowsPerPage Gets or sets the number of search results to return per page. (Inherited from QueryProperties.)
Public property SelectProperties Gets a list of the properties to return in the search results.
Public property Sid Gets or sets the query's security identifier (SID). (Inherited from QueryProperties.)
Public property SiteId Gets or sets the identifier (ID) for the site associated with the query. (Inherited from QueryProperties.)
Public property SortList Gets the list of properties by which the search results are ordered.
Public property StartRow Gets or sets first row included in the search results. (Inherited from QueryProperties.)
Public property SummaryLength Gets or sets the length of the search result summary. (Inherited from QueryProperties.)
Public property Timeout Gets or sets the amount of time, in milliseconds, before the query request times out. (Inherited from QueryProperties.)
Public property TimeZone Gets or sets the time zone for the search query.
Public property TimeZoneID Gets or sets the identifier for the search query time zone. (Inherited from QueryProperties.)
Public property TotalRowsExactMinimum Gets or sets the value used to determine the minimum value required for rendering page links. (Inherited from QueryProperties.)
Public property TrimDuplicates Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results. (Inherited from QueryProperties.)
Public property UrlZone Gets the originating URL zone for the query request. (Inherited from QueryProperties.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

KeywordQueryProperties Class

Microsoft.SharePoint.Search.Query Namespace