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
)

参数

  • keyGroupIdentifier
    类型:System.Guid

    关键组标识符。

返回值

类型:Microsoft.SharePoint.Client.AppPrincipalCredential
AppPrincipalCredential新实例。

另请参阅

引用

AppPrincipalCredential 类

AppPrincipalCredential 成员

Microsoft.SharePoint.Client 命名空间