SPAdministrationWebApplication class

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

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

'Declaration
<GuidAttribute("4C0FA7BC-0812-4ed2-80AB-89D752898BC6")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPAdministrationWebApplication _
    Inherits SPWebApplication _
    Implements IBackupRestore
'Usage
Dim instance As SPAdministrationWebApplication
[GuidAttribute("4C0FA7BC-0812-4ed2-80AB-89D752898BC6")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPAdministrationWebApplication : SPWebApplication, 
    IBackupRestore

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