SearchBox.SearchResultPageURL Property

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets or sets the URL for the page where results are displayed.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property SearchResultPageURL As String
Dim instance As SearchBox
Dim value As String

value = instance.SearchResultPageURL

instance.SearchResultPageURL = value
public string SearchResultPageURL { get; set; }

Property Value

Type: System.String
A string that contains the URL for the page where results are displayed. The default is the search page on the current site.


The SearchResultPageURL property is read/write. The value of this property can only be a valid URL. The default value is SEARCH_HOME, which is mapped to the search page of the current portal site.

See Also


SearchBox Class

SearchBox Members

Microsoft.SharePoint.Portal.WebControls Namespace