共用方式為


SPAdministrationWebApplication.IsAdministrationWebApplication Property

Gets a Boolean value that indicates whether the Web application is the administration Web application.

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

Syntax

'Declaration
Public Overrides ReadOnly Property IsAdministrationWebApplication As Boolean
    Get
'Usage
Dim instance As SPAdministrationWebApplication
Dim value As Boolean

value = instance.IsAdministrationWebApplication
public override bool IsAdministrationWebApplication { get; }

Property Value

Type: System.Boolean
true indicates the administration Web application; otherwise, false. The default value is true.

See Also

Reference

SPAdministrationWebApplication Class

SPAdministrationWebApplication Members

Microsoft.SharePoint.Administration Namespace