SPIdentityProviders.GetIdentityProviderType 方法
从value参数获取令牌源颁发者类型。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function GetIdentityProviderType ( _
value As String _
) As String
用法
Dim value As String
Dim returnValue As String
returnValue = SPIdentityProviders.GetIdentityProviderType(value)
public static string GetIdentityProviderType(
string value
)
参数
value
类型:System.String指定从中提取颁发者类型的值。
返回值
类型:System.String
返回包含颁发者类型的String .
异常
异常 | 条件 |
---|---|
ArgumentNullException | String包含提取颁发者类型是 null 或为空。 |