Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPRedirectFlags Enumeration

Specifies flags for a redirect operation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[SubsetCallableTypeAttribute]
[FlagsAttribute]
public enum SPRedirectFlags

Member nameDescription
DefaultUse default settings for the redirect.
CheckUrlCheck the redirect Uniform Resource Locator (URL).
StaticThe redirect is static.
TrustedThe redirect is trusted.
RelativeToLayoutsPageThe redirect occurs relative to the application page.
RelativeToLocalizedLayoutsPageObsolete. The redirect occurs relative to the localized application page.
UseSourceUse the source for the redirect.
DoNotEndResponseDo not end the response after the redirect.
DoNotEncodeUrlDo not encode the redirect URL.
DoNotInitWebDo not initialize the website in cases where it probably does not exist or has a generic ASP error.
Show:
© 2015 Microsoft