Share via


QueryProperties.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
<DataMemberAttribute> _
<ObsoleteAttribute("This class is obsolete.")> _
Public Property KeywordInclusion As KeywordInclusion
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As KeywordInclusion

value = instance.KeywordInclusion

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

Property value

Type: Microsoft.SharePoint.Search.Query.KeywordInclusion
A value from the QueryKeywordInclusion enumeration.

Remarks

When using the FullTextSqlQuery class, this property applies to search terms specified in the FREETEXT predicate (see HYPERLINK "mk:@MSITStore:C:\\\\Users\\\\jowest\\\\Documents\\\\WORK\\\\BUILDS\\\\OSSSDK2007.chm::/html/08bd4d09-a4a9-4cd5-8b75-e5bf23b23fdf.htm"FREETEXT Predicate).

See also

Reference

QueryProperties class

QueryProperties members

Microsoft.SharePoint.Search.Query namespace