Partager via


Query.KeywordInclusion Property

Gets or sets a value that specifies whether the query returns results that contain all or any of the specified search terms.

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

Syntax

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

value = instance.KeywordInclusion

instance.KeywordInclusion = value
public KeywordInclusion KeywordInclusion { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.Query.KeywordInclusion
A value that specifies whether the query returns results that contain all or any of the specified search terms.

Remarks

When using the FullTextSqlQuery class, this property applies to search terms specified in the FREETEXT Predicate in SharePoint Search SQL Syntax.

This property does not apply when using the FAST Query Language (FQL).

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace