SPAdministrationWebApplication Class

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

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

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

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);

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