Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the URL that redirects the user to the filter results page.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Function GetUrl ( _
filterName As String, _
filterInfo As MetadataFilterValue, _
<OutAttribute> ByRef url As String _
) As String
'Usage
Dim filterName As String
Dim filterInfo As MetadataFilterValue
Dim url As String
Dim returnValue As String
returnValue = Me.GetUrl(filterName, _
filterInfo, url)
protected string GetUrl(
string filterName,
MetadataFilterValue filterInfo,
out string url
)
Parameters
filterName
Type: System.StringThe name of the filter to create a new URL.
filterInfo
Type: Microsoft.Office.Server.Search.WebControls.MetadataFilterValueThe value of the filter.
url
Type: System.StringWhen this method returns, contains a URL that redirects the user to the filter results page.
Return Value
Type: System.String
The current state of the generated URL.
Remarks
If the filterInfo parameter is null , this method removes all filters for getting the results, otherwise, this method creates a filter based on the specified value.