AppPrincipalCredential.CreateFromKeyGroup 方法
创建自动换行键组标识符的AppPrincipalCredential实例。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Shared Function CreateFromKeyGroup ( _
context As ClientRuntimeContext, _
keyGroupIdentifier As Guid _
) As AppPrincipalCredential
用法
Dim context As ClientRuntimeContext
Dim keyGroupIdentifier As Guid
Dim returnValue As AppPrincipalCredential
returnValue = AppPrincipalCredential.CreateFromKeyGroup(context, _
keyGroupIdentifier)
public static AppPrincipalCredential CreateFromKeyGroup(
ClientRuntimeContext context,
Guid keyGroupIdentifier
)
参数
context
类型:Microsoft.SharePoint.Client.ClientRuntimeContext运行时上下文中。
keyGroupIdentifier
类型:System.Guid关键组标识符。
返回值
类型:Microsoft.SharePoint.Client.AppPrincipalCredential
AppPrincipalCredential新实例。