共用方式為


KeywordQueryProperties.EnableUrlSmashing Property

Gets or sets a Boolean value that specifies whether "URL smashing" (creating a URL by combining the query terms) is enabled.

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

Syntax

'Declaration
Public Property EnableUrlSmashing As Boolean
    Get
    Set
'Usage
Dim instance As KeywordQueryProperties
Dim value As Boolean

value = instance.EnableUrlSmashing

instance.EnableUrlSmashing = value
public bool EnableUrlSmashing { get; set; }

Property Value

Type: System.Boolean
true if URL smashing is enabled; otherwise, false.

See Also

Reference

KeywordQueryProperties Class

KeywordQueryProperties Members

Microsoft.SharePoint.Search.Query Namespace