Share via


Query.Execute Method

Executes the search query.

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

Syntax

'Declaration
Public MustOverride Function Execute As ResultTableCollection
'Usage
Dim instance As Query
Dim returnValue As ResultTableCollection

returnValue = instance.Execute()
public abstract ResultTableCollection Execute()

Return Value

Type: Microsoft.SharePoint.Search.Query.ResultTableCollection
A ResultTableCollection object.

See Also

Reference

Query Class

Query Members

Microsoft.SharePoint.Search.Query Namespace