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.
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)
Syntax
protected internal virtual RedirectResult RedirectPermanent(
string url
)
public protected:
virtual RedirectResult^ RedirectPermanent(
String^ url
)
abstract RedirectPermanent :
url:string -> RedirectResult
override RedirectPermanent :
url:string -> RedirectResult
Protected Friend Overridable Function RedirectPermanent (
url As String
) As RedirectResult
Parameters
url
Type: System.StringThe URL to redirect to.
Return Value
Type: System.Web.Mvc.RedirectResult
An instance of the RedirectResult class with the Permanent property set to true.
See Also
Controller Class
System.Web.Mvc Namespace
Return to top