SPUtility.DetermineRedirectUrl method
SharePoint 2013
Helper function that determines a redirection URL, typically for server-side redirects. For example, a redirection that uses SPUtility.Redirect.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)] public static bool DetermineRedirectUrl( string urlProposed, SPRedirectFlags flags, HttpContext context, string queryString, out string urlRedirect )
Parameters
- urlProposed
- Type: System.String
The redirection URL.
- flags
- Type: Microsoft.SharePoint.Utilities.SPRedirectFlags
A bit flag array consisting of one or more values from SPRedirectFlags.
- context
- Type: System.Web.HttpContext
The HttpContext to use, typically Current.
- queryString
- Type: System.String
Additional query string to use for the redirection URL. This is appended to the returned URL urlRedirect.
- urlRedirect
- Type: System.String
When this method returns, contains a String that contains the redirection URL. This parameter is passed uninitialized.