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)

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