次の方法で共有


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)

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