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