共用方式為


SPServiceApplication.SetAdministrationAccessControl method

適用於將服務應用程式的管理存取控制設定。

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

Syntax

'宣告
Public Overridable Sub SetAdministrationAccessControl ( _
    security As SPCentralAdministrationSecurity _
)
'用途
Dim instance As SPServiceApplication
Dim security As SPCentralAdministrationSecurity

instance.SetAdministrationAccessControl(security)
public virtual void SetAdministrationAccessControl(
    SPCentralAdministrationSecurity security
)

參數

Exceptions

Exception Condition
SecurityException

目前的使用者沒有寫入權限。

ArgumentNullException

做為引數傳遞給security參數的物件是a null reference (Nothing in Visual Basic)。

請參閱

參照

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace