KeywordQuery.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.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)


Public Property EnableUrlSmashing As Boolean
Dim instance As KeywordQuery
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


KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Enterprise Search Keyword Syntax Reference

Enterprise Search Query Object Model Overview

Walkthrough: Creating a Custom Enterprise Search Web Part