SPAdministrationWebApplication Class

Represents an SPWebApplication object with additional settings that are specific to Windows SharePoint Services.

Inheritance Hierarchy

System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
Microsoft.SharePoint.Administration.SPWebApplication
Microsoft.SharePoint.Administration.SPAdministrationWebApplication

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

Syntax

<GuidAttribute("4C0FA7BC-0812-4ed2-80AB-89D752898BC6")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPAdministrationWebApplication _
    Inherits SPWebApplication

Dim instance As SPAdministrationWebApplication
[GuidAttribute("4C0FA7BC-0812-4ed2-80AB-89D752898BC6")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPAdministrationWebApplication : SPWebApplication

Remarks

Use the Lookup method to return an instance of the administration Web application for a specified Web service. For example: SPAdministrationWebApplication adminWebApp = (SPAdministrationWebApplication)SPWebApplication.Lookup(myUri);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPAdministrationWebApplication Members

Microsoft.SharePoint.Administration Namespace