SPClaimProviderOperations.Resolve 方法 (Uri, SPClaimProviderOperationOptions, String[], String[], SPClaim)
解析为指定上下文的操作选项中指定的声明提供程序s 指定到机械臂的实体声明。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function Resolve ( _
context As Uri, _
mode As SPClaimProviderOperationOptions, _
providerNames As String(), _
entityTypes As String(), _
resolveInput As SPClaim _
) As PickerEntity()
用法
Dim context As Uri
Dim mode As SPClaimProviderOperationOptions
Dim providerNames As String()
Dim entityTypes As String()
Dim resolveInput As SPClaim
Dim returnValue As PickerEntity()
returnValue = SPClaimProviderOperations.Resolve(context, _
mode, providerNames, entityTypes, _
resolveInput)
public static PickerEntity[] Resolve(
Uri context,
SPClaimProviderOperationOptions mode,
string[] providerNames,
string[] entityTypes,
SPClaim resolveInput
)
参数
context
类型:System.Uri在其中找到声明提供程序s 的上下文。
mode
类型:Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperationOptions要获取声明提供程序ss 的操作选项。
providerNames
类型:[]解决输入声明提供程序s 的名称。
entityTypes
类型:[]在层次结构树返回实体类型。
resolveInput
类型:Microsoft.SharePoint.Administration.Claims.SPClaim声明来解决。
返回值
类型:[]
机械臂实体解析从声明的数组。
异常
异常 | 条件 |
---|---|
ArgumentNullException | context或resolveInput是 null 。 |
备注
如果entityTypes是 null ,选择器的所有实体都进行解析 ;否则,仅在entityTypes类型的机械臂实体得到了解决。