SPAdministrationWebApplication 类

表示与其他设置是特定于SharePoint Foundation的SPWebApplication对象。

继承层次结构

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

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

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

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPAdministrationWebApplication 成员

Microsoft.SharePoint.Administration 命名空间