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.

Classes

  Class Description
Public class AllNoiseQueryException Obsolete. Represents the exception that is thrown when a search query's terms are all noise words.
Public class ClientStringCollection
Public class HighlightedString Obsolete. Represents the hit-highlighted summary.
Public class InactiveSourceQueriedException
Public class InternalQueryErrorException
Public class InvalidPropertyException Obsolete. Represents the exception that is thrown when the search query contains a property that is not valid.
Public class KeywordInformation Obsolete. Contains information about a keyword.
Public class KeywordQuery Obsolete. Represents a search query that uses the Keyword syntax.
Public class KeywordQueryProperties Obsolete. Represents the properties for a search query using the Keyword syntax.
Public class KeywordQueryPropertiesType_Client
Public class KnownTableTypes Represents some special known values for the TableType property.
Public class PropertyBag Serves as the base class for generic versions of the PropertyBag class, which enables the scenario of having a parent class declaring its bag as PropertyBag, and the child class building it as PropertyBag<ChildClass>.
Public class PropertyBag<T>
Public class PropertyConstraint Obsolete. Represents a property constraint and a set of constraining values.
Public class PropertyConstraintCollection Obsolete. Represents a collection of PropertyConstraint objects.
Public class PropertyInformation Obsolete. Provides information about a managed property.
Public class Query Obsolete. 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 Obsolete. Represents the exception that is thrown when the search query contains only excluded terms.
Public class QueryEmptyException
Public class QueryMalformedException Obsolete. Represents the exception that is thrown when a search query is not formed correctly.
Public class QueryProperties Obsolete. Represents the properties for a search query.
Public class QueryPropertyOutOfRangeException
Public class QueryPropertyValue
Public class QueryThrottledException
Public class QueryTransformInvalidPropertyException Exception thrown when query transformation fails due to setting invalid query property values
Public class QueryUtility
Public class RankingModelNotFoundException Obsolete.
Public class RemoteSharepointException
Public class RemoteSharepointException.RemoteSharePointExceptionInfo
Public class ReorderingRule
Public class ReorderingRuleCollection Represents the reordering rule collection.
Public class ResultTable Obsolete. Provides a means of reading query search results through the IDataReader interface. Each row of the IDataReader represents one search result.
Public class ResultTableCollection Obsolete. Represents a collection of ResultTable objects.
Public class ScopeNotFoundException Obsolete. Represents the exception that is thrown when the scope name specified for a search query does not exist.
Public class SearchExecutor Executes queries against a search server.
Public class SearchQueryException Obsolete. Provides the base class for Search query exceptions.
Public class SearchServiceNotFoundException Obsolete. Represents the exception that is thrown when the search service is unavailable.
Public class Sort Obsolete. Defines how the search results are sorted.
Public class SortCollection Obsolete. Represents a collection of Sort structures.
Public class TooComplexQueryException

Structures

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

Interfaces

  Interface Description
Public interface IPropertyCollection Represents a set of properties in which each property is a key/value pair where the key is a string and the value is an object.
Public interface IReadOnlyPropertyCollection Represents a set of properties in which every property is a key/value pair where the key is a string and the value is an object.

Enumerations

  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 QueryPropertyValueType
Public enumeration RemoteSharepointException.RemoteSharePointExceptionType
Public enumeration ReorderingRuleMatchType
Public enumeration ResultType Obsolete. Defines the result types for Search results.
Public enumeration SortDirection Defines the sort direction values for ordering search results.