Share via


Query.Hint Property

Gets or sets the suggested query processor behavior for the query.

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

Syntax

'Declaration
Public Property Hint As QueryHint
    Get
    Set
'Usage
Dim instance As Query
Dim value As QueryHint

value = instance.Hint

instance.Hint = value
public QueryHint Hint { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.Query.QueryHint
Returns QueryHint.

Remarks

Setting this value to OptimizeWithPropertyStore is typically most useful when using FullTextSqlQuery. In this case it is sometimes faster to use the Microsoft SQL Server database before the search index.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace