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.StringThis 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
Microsoft.SharePoint.Portal.Search Namespace