Share via


Query.ResultTypes property

NOTE: This API is now obsolete.

Gets or sets a value that specifies the search result type.

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

Syntax

'Declaration
<ObsoleteAttribute("It's not required to specify which types of ResultTables should be returned anymore, since all of them are returned by default.")> _
Public Property ResultTypes As ResultType
    Get
    Set
'Usage
Dim instance As Query
Dim value As ResultType

value = instance.ResultTypes

instance.ResultTypes = value
[ObsoleteAttribute("It's not required to specify which types of ResultTables should be returned anymore, since all of them are returned by default.")]
public ResultType ResultTypes { get; set; }

Property value

Type: Microsoft.Office.Server.Search.Query.ResultType
A value that specifies the search result type.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace