SPAppPermissionProvider.GetMissingServiceDependencyNames 方法
获取权限请求范围取决于,但不是向用户提供的服务。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Overridable Function GetMissingServiceDependencyNames ( _
permissionRequestScope As Uri, _
hostWeb As SPWeb _
) As IEnumerable(Of String)
用法
Dim permissionRequestScope As Uri
Dim hostWeb As SPWeb
Dim returnValue As IEnumerable(Of String)
returnValue = Me.GetMissingServiceDependencyNames(permissionRequestScope, _
hostWeb)
protected virtual IEnumerable<string> GetMissingServiceDependencyNames(
Uri permissionRequestScope,
SPWeb hostWeb
)
参数
permissionRequestScope
类型:System.Uri权限请求范围。
hostWeb
类型:Microsoft.SharePoint.SPWebSharePoint 应用程序是安装在该网站。
返回值
类型:System.Collections.Generic.IEnumerable<String>
缺少服务的显示名称。
备注
如果没有任何缺少服务依存关系,此方法应返回一个空枚举。此方法应返回该服务的用户不授权给。