Share via


Query.KeywordInclusion property

NOTE: This API is now obsolete.

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

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

Syntax

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

value = instance.KeywordInclusion

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

Property value

Type: Microsoft.SharePoint.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.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace