Share 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 from the KeywordInclusion enumeration.

Remarks

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

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace