Partager via


FullTextSqlQuery Class

Applies to: Microsoft SharePoint Server 2010 search
Represents a SQL syntax search query. See the SharePoint Search SQL Syntax Reference for information about constructing queries using the SharePoint Server search SQL syntax.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.Search.Query.Query
    Microsoft.Office.Server.Search.Query.FullTextSqlQuery

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class FullTextSqlQuery _
    Inherits Query
'Usage
Dim instance As FullTextSqlQuery
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class FullTextSqlQuery : Query

Remarks

Use this class for executing SQL syntax search queries. Use the KeywordQuery class for executing keyword search queries.

For more information about using the FullTextSqlQuery class in SharePoint Server search, see 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.

See Also

Reference

FullTextSqlQuery Members

Microsoft.Office.Server.Search.Query Namespace