SPAppPrincipalManager.DeleteAppPrincipalCredential method
Deletes an existing credential for an app principal.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub DeleteAppPrincipalCredential ( _
credentialReference As SPAppPrincipalCredentialReference _
)
'Usage
Dim instance As SPAppPrincipalManager
Dim credentialReference As SPAppPrincipalCredentialReference
instance.DeleteAppPrincipalCredential(credentialReference)
public void DeleteAppPrincipalCredential(
SPAppPrincipalCredentialReference credentialReference
)
Parameters
credentialReference
Type: Microsoft.SharePoint.SPAppPrincipalCredentialReferenceA reference to the credential to be deleted.