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)

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.