共用方式為


Microsoft.SharePoint.Search.Query Namespace

Classes

  Class Description
AllNoiseQueryException Represents the exception that is thrown when a search query's terms are all noise words.
FullTextSqlQuery Represents a search query using the SearchSQL Syntax.
InvalidPropertyException Represents the exception that is thrown when the search query contains a property that is not valid.
KeywordInformation Contains information about a keyword.
KeywordQuery
PropertyConstraint
PropertyConstraintCollection Represents a collection of PropertyConstraint objects.
PropertyInformation Provides information about a managed property.
Query The base class for executing search queries using the Search query object model. Defines the properties and methods that are shared by the FullTextSqlQuery and KeywordQuery classes.
QueryContainsOnlyExcludedTermsException Represents the exception that is thrown when the search query contains only excluded terms.
QueryMalformedException Represents the exception that is thrown when a search query is not formed correctly.
QueryService
ResultTable Represents a distinct collection of search results returned for a query.
ResultTableCollection Represents a collection of ResultTable objects.
ScopeNotFoundException Represents the exception that is thrown when the scope name specified for a search query does not exist.
SearchQueryException Provides the base class for Search query exceptions.
SearchServiceNotFoundException Represents the exception that is thrown when the search service is unavailable.
Sort Defines how the search results are sorted.
SortCollection Represents a collection of Sort structures.

Structures

  Structure Description
ResultDefinition

Enumerations

  Enumeration Description
CollapsingStatus Defines whether duplicate results are collapsed for Search queries results.
KeywordInclusion Defines the keyword inclusion values.
QueryAuthenticationType Defines the query authentication types supported in Search.
QueryHint
ResultType Defines the result types for Search results.
SortDirection Defines the sort direction values for ordering search results.