AppPrincipalManager.AddAppPrincipalCredential メソッド
既存のアプリ プリンシパルの新しい資格情報を追加します。
名前空間: Microsoft.SharePoint.Client
アセンブリ: Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)
構文
'宣言
Public Sub AddAppPrincipalCredential ( _
appPrincipal As AppPrincipal, _
credential As AppPrincipalCredential _
)
'使用
Dim instance As AppPrincipalManager
Dim appPrincipal As AppPrincipal
Dim credential As AppPrincipalCredential
instance.AddAppPrincipalCredential(appPrincipal, _
credential)
public void AddAppPrincipalCredential(
AppPrincipal appPrincipal,
AppPrincipalCredential credential
)
パラメーター
appPrincipal
型: Microsoft.SharePoint.Client.AppPrincipalアプリ プリンシパルです。
credential
型: Microsoft.SharePoint.Client.AppPrincipalCredential資格情報を追加します。