SPWebService.SiteRedirectionEnabled Property

Gets or sets a value that indicates whether the feature that redirects requests for a site to another URL is enabled.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property SiteRedirectionEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As Boolean

value = instance.SiteRedirectionEnabled

instance.SiteRedirectionEnabled = value
public bool SiteRedirectionEnabled { get; set; }

Property Value

Type: System.Boolean
true to enable the site redirection feature; otherwise, false. The default is false.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace