AppPermissions.ValidatePermForScope 方法
驗證指定的類型的應用程式的權限有效的指定範圍的類型。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Public Shared Sub ValidatePermForScope ( _
appPermissionType As AppPermissions.Scope, _
permKind As Integer _
)
'用途
Dim appPermissionType As AppPermissions.Scope
Dim permKind As IntegerAppPermissions.ValidatePermForScope(appPermissionType, _
permKind)
public static void ValidatePermForScope(
AppPermissions.Scope appPermissionType,
int permKind
)
參數
appPermissionType
類型:Microsoft.Office.Project.Server.Library.AppPermissions.Scope在範圍或類別的內容相關聯的應用程式權限組。
permKind
類型:System.Int32整數,代表的權限類型。