Share via


SPWebApplication.SelfServiceSiteCreationEnabled Property

Gets or sets a value indicating whether self-service site creation is available in the application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property SelfServiceSiteCreationEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.SelfServiceSiteCreationEnabled

instance.SelfServiceSiteCreationEnabled = value
public bool SelfServiceSiteCreationEnabled { get; set; }

Property Value

Type: System.Boolean
true if allow self-service site creation is available; otherwise, false. The default value is false.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace