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
provider
Type: Microsoft.SharePoint.Administration.SPAuthenticationProviderThe claims authentication provider to be removed.
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.