Share via


SPSiteLookupInfo.HostHeaderIsSiteName property

Gets or sets a Boolean value that specifies whether the host header is the name of the site collection.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property HostHeaderIsSiteName As Boolean
    Get
    Set
'Usage
Dim instance As SPSiteLookupInfo
Dim value As Boolean

value = instance.HostHeaderIsSiteName

instance.HostHeaderIsSiteName = value
[DataMemberAttribute]
public bool HostHeaderIsSiteName { get; set; }

Property value

Type: System.Boolean
Boolean
true if the host header is the name of the site collection; otherwise, false.

See also

Reference

SPSiteLookupInfo class

SPSiteLookupInfo members

Microsoft.SharePoint.Administration namespace