共用方式為


SPAdministrationWebApplication class

代表與其他設定所特有SharePoint FoundationSPWebApplication物件。

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 _
    Implements IBackupRestore
'用途
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

備註

使用Lookup方法可傳回之管理 Web 應用程式的指定 Web 服務的執行個體。例如: 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.

請參閱

參照

SPAdministrationWebApplication members

Microsoft.SharePoint.Administration namespace