Share via


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

value = instance.EnableUrlSmashing

instance.EnableUrlSmashing = value
[DataMemberAttribute]
[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

KeywordQueryProperties class

KeywordQueryProperties members

Microsoft.SharePoint.Search.Query namespace