Share via


KeywordQuery.Execute Method

Executes the keyword syntax search query.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Overrides NotOverridable Function Execute As ResultTableCollection
'Usage
Dim instance As KeywordQuery
Dim returnValue As ResultTableCollection

returnValue = instance.Execute()
public override sealed ResultTableCollection Execute()

Return Value

Type: Microsoft.Office.Server.Search.Query.ResultTableCollection
A ResultTableCollection object.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Enterprise Search Keyword Syntax Reference

Enterprise Search Query Object Model Overview

Walkthrough: Creating a Custom Enterprise Search Web Part