Share via


SPTrustedLoginProvider.Delete method

Deletes the trusted login provider from the server farm.

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

Syntax

'Declaration
Public Overrides Sub Delete
'Usage
Dim instance As SPTrustedLoginProvider

instance.Delete()
public override void Delete()

Exceptions

Exception Condition
InvalidOperationException

The trusted login provider is in use.

Remarks

This method calls the Delete method of the base class to delete the trusted login provider from the server farm.

See also

Reference

SPTrustedLoginProvider class

SPTrustedLoginProvider members

Microsoft.SharePoint.Administration.Claims namespace