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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<GuidAttribute("4C0FA7BC-0812-4ed2-80AB-89D752898BC6")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPAdministrationWebApplication _
Inherits SPWebApplication _
Implements IBackupRestore
'Usage
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,
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.