SPClaimProviderManager.DeleteClaimProvider method (String)

Removes a registered claims provider.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub DeleteClaimProvider ( _
    name As String _
)
'Usage
Dim instance As SPClaimProviderManager
Dim name As String

instance.DeleteClaimProvider(name)
public void DeleteClaimProvider(
    string name
)

Parameters

  • name
    Type: System.String

    The name to delete which is used to match against a Name property.

Exceptions

Exception Condition
ArgumentNullException

Thrown if the name parameter is a null reference (Nothing in Visual Basic).

ArgumentException

Thrown if the name parameter does not match existing claims providers.

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

DeleteClaimProvider overload

Microsoft.SharePoint.Administration.Claims namespace