Partilhar via


SPWebApplication.IsAdministrationWebApplication Property

Gets or sets a Boolean value specifying whether the Web application is the Central Administration application.

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

Syntax

'Declaration
Public Overridable Property IsAdministrationWebApplication As Boolean
    Get
    Set
'Usage
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 if the Web application is the Central Administration application; otherwise, false.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace