共用方式為


QueryProperties.IgnoreAllNoiseQuery Property

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
Public Property IgnoreAllNoiseQuery As Boolean
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Boolean

value = instance.IgnoreAllNoiseQuery

instance.IgnoreAllNoiseQuery = value
public bool IgnoreAllNoiseQuery { get; set; }

Property Value

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

See Also

Reference

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace