SearchServiceApplicationProxy.Execute method

Executes the Search query with the specified query properties.

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

Syntax

'Declaration
Public Function Execute ( _
    properties As QueryProperties _
) As ResultTableCollection
'Usage
Dim instance As SearchServiceApplicationProxy
Dim properties As QueryProperties
Dim returnValue As ResultTableCollection

returnValue = instance.Execute(properties)
public ResultTableCollection Execute(
    QueryProperties properties
)

Parameters

Return value

Type: Microsoft.Office.Server.Search.Query.ResultTableCollection
A collection of Search query result tables.

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

This method executes a Search query and returns the collection of result tables.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace