Share via


QueryProvider.Execute Method (String, 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, _
    <OutAttribute> ByRef strMachineNameOut As String _
) As DataSet
'Usage
Dim instance As QueryProvider
Dim strQuery As String
Dim strMachineNameOut As String
Dim returnValue As DataSet

returnValue = instance.Execute(strQuery, _
    strMachineNameOut)
public DataSet Execute(
    string strQuery,
    out string strMachineNameOut
)

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.

  • strMachineNameOut
    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

Remarks

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