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.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Property SearchResultPageURL As String
Get
Set
'Usage
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.
Remarks
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.