Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets an optional Internet Information Services (IIS) host header for the new IIS Web site of the Web application.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property HostHeader As String
Get
Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As String
value = instance.HostHeader
instance.HostHeader = value
public string HostHeader { get; set; }
Property Value
Type: System.String
A string that contains the host header. The default value is null because IIS is configured to serve all unassigned IP addresses by default.