Query.Execute method

NOTE: This API is now obsolete.

Executes the search query.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.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.Office.Server.Search.Query.ResultTableCollection
The collection of tables containing the search results.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace