Share via


Query.IgnoreAllNoiseQuery property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words.

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

Syntax

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

value = instance.IgnoreAllNoiseQuery

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

Property value

Type: System.Boolean
true if search queries containing only noise words are executed; otherwise, false.

Remarks

The default value is true.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace