共用方式為


SPIisWebServiceApplication.CheckAccess method

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

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

Syntax

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

returnValue = Me.CheckAccess(rights)
protected virtual bool CheckAccess(
    SPIisWebServiceApplicationRights rights
)

參數

傳回值

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

請參閱

參照

SPIisWebServiceApplication class

SPIisWebServiceApplication members

Microsoft.SharePoint.Administration namespace