共用方式為


SPWebApplication.IsAdministrationWebApplication property

取得或設定 Boolean 值,指定的 Web 應用程式是否為管理中心應用程式。

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

Syntax

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

value = instance.IsAdministrationWebApplication

instance.IsAdministrationWebApplication = value
public virtual bool IsAdministrationWebApplication { get; set; }

Property value

Type: System.Boolean
true如果 Web 應用程式為管理中心應用程式 ;否則,請false。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace