共用方式為


QueryProperties.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.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

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

value = instance.KeywordInclusion

instance.KeywordInclusion = value
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 FREETEXT Predicate).

See Also

Reference

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace