Query Class
The base class for executing search queries using the Enterprise Search query object model. Defines the properties and methods that are shared by the FullTextSqlQuery and KeywordQuery classes.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.Search.Query.Query
Microsoft.Office.Server.Search.Query.FullTextSqlQuery
Microsoft.Office.Server.Search.Query.KeywordQuery
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public MustInherit Class Query _
Implements IDisposable
'Usage
Dim instance As Query
public abstract class Query : IDisposable
Remarks
The Query class is not intended to be used directly from your code, but is designed to be the base implementation for the Enterprise Search Query object model classes.
Instead, you should use the FullTextSqlQuery class for executing Enterprise Search SQL Syntax Reference search queries, or the KeywordQuery class for executing Enterprise Search Keyword Syntax Reference search queries.
For more information about the Enterprise Search Query object model, see Enterprise Search Query Object Model Overview.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.