SPWebService.EnableHostHeaderSiteBasedSchemeSelection property
Gets or sets a value that indicates whether the host header site scheme selection is enabled.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property EnableHostHeaderSiteBasedSchemeSelection As Boolean
Get
Set
'Usage
Dim instance As SPWebService
Dim value As Boolean
value = instance.EnableHostHeaderSiteBasedSchemeSelection
instance.EnableHostHeaderSiteBasedSchemeSelection = value
public bool EnableHostHeaderSiteBasedSchemeSelection { get; set; }
Property value
Type: System.Boolean
true if the host header site scheme selection is enabled; false if the Web application default zone response URL scheme is used.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user is not an administrator in the server farm. |