QueryProvider Class

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. The Enterprise Search query object model is implemented in the Microsoft.Office.Server.Search.Query namespace.

Inheritance Hierarchy


Namespace:  Microsoft.SharePoint.Portal.Search
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class QueryProvider
Dim instance As QueryProvider
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class QueryProvider


To execute Enterprise Search queries, use the FullTextSqlQuery and KeywordQuery classes in the Microsoft.Office.Server.Search.Query namespace.

For more information about the new 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.

See Also


QueryProvider Members

Microsoft.SharePoint.Portal.Search Namespace

Other Resources

Enterprise Search Architecture

Querying Enterprise Search