Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.DetermineRedirectUrl method

Helper function that determines a redirection URL, typically for server-side redirects. For example, a redirection that uses SPUtility.Redirect.

Namespace:  Microsoft.SharePoint.Utilities
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.

Return value

Type: System.Boolean
A redirection URL.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.