Share via


QueryProvider.Execute Method (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. Use the KeywordQueryExecute() or FullTextSqlQueryExecute() method instead.

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

Syntax

'Declaration
Public Function Execute ( _
    strQuery As String _
) As DataSet
'Usage
Dim instance As QueryProvider
Dim strQuery As String
Dim returnValue As DataSet

returnValue = instance.Execute(strQuery)
public DataSet Execute(
    string strQuery
)

Parameters

  • strQuery
    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.

Return Value

Type: System.Data.DataSet
For more information about using the new Query object model, see Enterprise Search Query Object Model Overview.

See Also

Reference

QueryProvider Class

QueryProvider Members

Execute Overload

Microsoft.SharePoint.Portal.Search Namespace

Other Resources

Enterprise Search Architecture

Querying Enterprise Search