Share via


SPSiteCreationParameters.HostHeader property

Indicates whether the site collection is a host header site collection or not.

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

Syntax

'Declaration
Public ReadOnly Property HostHeader As Boolean
    Get
'Usage
Dim instance As SPSiteCreationParameters
Dim value As Boolean

value = instance.HostHeader
public bool HostHeader { get; }

Property value

Type: System.Boolean
A Boolean value = true if the site collection is a header site collection or not.

See also

Reference

SPSiteCreationParameters class

SPSiteCreationParameters members

Microsoft.SharePoint.Administration namespace