다음을 통해 공유


KeywordQuery.EnableUrlSmashing Property

Applies to: Microsoft SharePoint Server 2010 search
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)

Syntax

'Declaration
Public Property EnableUrlSmashing As Boolean
    Get
    Set
'Usage
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

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace