Share via


SPIisSettings.DeleteClaimsAuthenticationProvider method

Removes a claims authentication provider from the set of claims authentication providers for the current URL zone.

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

Syntax

'Declaration
Public Sub DeleteClaimsAuthenticationProvider ( _
    provider As SPAuthenticationProvider _
)
'Usage
Dim instance As SPIisSettings
Dim provider As SPAuthenticationProvider

instance.DeleteClaimsAuthenticationProvider(provider)
public void DeleteClaimsAuthenticationProvider(
    SPAuthenticationProvider provider
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

provider is null .

ArgumentException

ClaimsAuthenticationProviders is empty or has only one member.

Remarks

The list of claims authentication providers configured for the current URL zone is stored in the ClaimsAuthenticationProviders property.

See also

Reference

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace