共用方式為


SPSiteAdministration class

提供抽象需要系統管理員存取權的網站集合的內容空間的作業。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPSiteAdministration

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPSiteAdministration _
    Implements IDisposable
'用途
Dim instance As SPSiteAdministration
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPSiteAdministration : IDisposable

備註

SPSiteAdministration類別會提供存取權所選的網站集合的屬性,而不需要網站集合本身的存取權。

此類別會封裝SPSiteSPWeb物件包含的預期使用者成為全域管理員,並會自動授與的完整內容的權限給這類使用者的要求。

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.

請參閱

參照

SPSiteAdministration members

Microsoft.SharePoint.Administration namespace