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
properties
Type: Microsoft.Office.Server.Search.Query.QueryPropertiesThe properties for a Search query.
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