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)

Syntax

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

value = instance.SearchResultPageURL

instance.SearchResultPageURL = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
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.

See Also

Reference

SearchBox Class

SearchBox Members

Microsoft.SharePoint.Portal.WebControls Namespace