AppPrincipalManager.AddAppPrincipalCredential método
Adiciona uma nova credencial de um aplicativo existente principal.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)
Sintaxe
'Declaração
Public Sub AddAppPrincipalCredential ( _
appPrincipal As AppPrincipal, _
credential As AppPrincipalCredential _
)
'Uso
Dim instance As AppPrincipalManager
Dim appPrincipal As AppPrincipal
Dim credential As AppPrincipalCredential
instance.AddAppPrincipalCredential(appPrincipal, _
credential)
public void AddAppPrincipalCredential(
AppPrincipal appPrincipal,
AppPrincipalCredential credential
)
Parâmetros
appPrincipal
Tipo: Microsoft.SharePoint.Client.AppPrincipalO capital de aplicativo.
credential
Tipo: Microsoft.SharePoint.Client.AppPrincipalCredentialA credencial para adicionar.