SPClaimProviderManager.DeleteClaimProvider Method
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.StringThe 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. |