SPServerBinding.HostHeader property

Gets or sets the host header of the server binding.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property HostHeader As String
    Get
    Set
'Usage
Dim instance As SPServerBinding
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.

See also

Reference

SPServerBinding class

SPServerBinding members

Microsoft.SharePoint.Administration namespace