共用方式為


SPWebApplication.RequireContactForSelfServiceSiteCreation property

取得或設定一個值,指出 [自助網站架設是否需要網站擁有者的連絡資訊。

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

Syntax

'宣告
Public Property RequireContactForSelfServiceSiteCreation As Boolean
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.RequireContactForSelfServiceSiteCreation

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

Property value

Type: System.Boolean
true如果連絡人資訊,則需要 ;否則,請false。預設值為false。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace