共用方式為


SPServiceApplication.CheckAdministrationAccess method

會決定目前使用者是否要使用的服務應用程式的指定的管理存取權。

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

Syntax

'宣告
Protected Overridable Function CheckAdministrationAccess ( _
    rights As SPCentralAdministrationRights _
) As Boolean
'用途
Dim rights As SPCentralAdministrationRights
Dim returnValue As Boolean

returnValue = Me.CheckAdministrationAccess(rights)
protected virtual bool CheckAdministrationAccess(
    SPCentralAdministrationRights rights
)

參數

傳回值

Type: System.Boolean
true目前使用者是否為目前的服務應用程式 ; 指定的管理存取權限否則,請false。

請參閱

參照

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace