KeywordQuery.EnableUrlSmashing property

NOTE: This API is now obsolete.

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

value = instance.EnableUrlSmashing

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

Property value

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

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.SharePoint.Search.Query namespace