QueryProvider Constructor

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 SharePoint Enterprise Search Query object model is implemented in the Microsoft.Office.Server.Search.Query namespace.

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

Syntax

'Declaration
Public Sub New ( _
    strAppName As String _
)
'Usage
Dim strAppName As String

Dim instance As New QueryProvider(strAppName)
public QueryProvider(
    string strAppName
)

Parameters

  • strAppName
    Type: System.String

    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.

Remarks

To execute SharePoint 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.

See Also

Reference

QueryProvider Class

QueryProvider Members

Microsoft.SharePoint.Portal.Search Namespace

Other Resources

Enterprise Search Architecture

Querying Enterprise Search