Query.Execute method

NOTE: This API is now obsolete.

Executes the search query.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SearchExecutor.ExecuteQuery instead")> _
Public Overridable Function Execute As ResultTableCollection
'Usage
Dim instance As Query
Dim returnValue As ResultTableCollection

returnValue = instance.Execute()
[ObsoleteAttribute("Use SearchExecutor.ExecuteQuery instead")]
public virtual ResultTableCollection Execute()

Return value

Type: Microsoft.SharePoint.Search.Query.ResultTableCollection
The search results.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace