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)
Available in Sandboxed Solutions: No

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