共用方式為


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.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 Query
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 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