Microsoft.SharePoint.Search.Query Namespace

The Microsoft.SharePoint.Search.Query namespace provides an entry point into the Microsoft SharePoint Foundation 2010 Search Query object model.  You can use the Query object model to build custom search Web Parts and search applications to execute queries against the Search service.  You can find the Microsoft.SharePoint.Search.Query namespace in the Microsoft.SharePoint.Search.dll.

  Class Description
Public class AllNoiseQueryException Represents the exception that is thrown when a search query's terms are all noise words.
Public class FullTextSqlQuery Represents a search query using the SearchSQL Syntax.
Public class FullTextSqlQueryProperties Represents the properties for a search query using the Search SQL syntax.
Public class HighlightedString Represents the hit-highlighted summary.
Public class InvalidPropertyException Represents the exception that is thrown when the search query contains a property that is not valid.
Public class KeywordInformation Contains information about a keyword.
Public class KeywordQuery Represents a search query that uses the Keyword syntax.
Public class KeywordQueryProperties Represents the properties for a search query using the Keyword syntax.
Public class PropertyConstraint Represents a property constraint and a set of constraining values.
Public class PropertyConstraintCollection Represents a collection of PropertyConstraint objects.
Public class PropertyInformation Provides information about a managed property.
Public class Query Provides the base class for executing search queries using the Search query object model. This class defines properties and methods that are shared by the FullTextSqlQuery and KeywordQuery classes.
Public class QueryContainsOnlyExcludedTermsException Represents the exception that is thrown when the search query contains only excluded terms.
Public class QueryMalformedException Represents the exception that is thrown when a search query is not formed correctly.
Public class QueryProperties Represents the properties for a search query.
Public class RankingModelNotFoundException
Public class ResultTable Provides a means of reading query search results through the IDataReader interface. Each row of the IDataReader represents one search result.
Public class ResultTableCollection Represents a collection of ResultTable objects.
Public class ScopeNotFoundException Represents the exception that is thrown when the scope name specified for a search query does not exist.
Public class SearchQueryException Provides the base class for Search query exceptions.
Public class SearchServiceNotFoundException Represents the exception that is thrown when the search service is unavailable.
Public class Sort Defines how the search results are sorted.
Public class SortCollection Represents a collection of Sort structures.

  Structure Description
Public structure ResultDefinition Provides the information about a keyword definition in the search results.

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