Share via


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

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
<FlagsAttribute> _
Public Enumeration SPRedirectFlags
'Usage
Dim instance As SPRedirectFlags
[SubsetCallableTypeAttribute]
[FlagsAttribute]
public enum SPRedirectFlags

Members

Member name Description
Default Use default settings for the redirect.
CheckUrl Check the redirect Uniform Resource Locator (URL).
Static The redirect is static.
Trusted The redirect is trusted.
RelativeToLayoutsPage The redirect occurs relative to the application page.
RelativeToLocalizedLayoutsPage Obsolete. The redirect occurs relative to the localized application page.
UseSource Use the source for the redirect.
DoNotEndResponse Do not end the response after the redirect.
DoNotEncodeUrl Do not encode the redirect URL.
DoNotInitWeb Do not initialize the website in cases where it probably does not exist or has a generic ASP error.

See Also

Reference

Microsoft.SharePoint.Utilities Namespace