Controller.RedirectPermanent Method

Returns an instance of the RedirectResult class with the Permanent property set to true.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

protected internal virtual RedirectResult RedirectPermanent(
	string url
)

Parameters

url
Type: System.String
The URL to redirect to.

Return Value

Type: System.Web.Mvc.RedirectResult
An instance of the RedirectResult class with the Permanent property set to true.
Show: