Share via


Query.Hint property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property Hint As QueryHint
    Get
    Set
'Usage
Dim instance As Query
Dim value As QueryHint

value = instance.Hint

instance.Hint = value
[ObsoleteAttribute("This class is obsolete.")]
public QueryHint Hint { get; set; }

Property value

Type: Microsoft.SharePoint.Search.Query.QueryHint
A value from the QueryHint enumeration.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace