共用方式為


SPWebApplication.SelfServiceSiteCreationEnabled property

取得或設定一個值,指出是否可在應用程式中自助網站架設。

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

Syntax

'宣告
Public Property SelfServiceSiteCreationEnabled As Boolean
    Get
    Set
'用途
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如果允許自助網站架設有 ;否則,請false。預設值為false。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace