共用方式為


SPAuthenticationProvider Class

An abstract base class that represents an authentication provider.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPAuthenticationProvider
      Microsoft.SharePoint.Administration.SPFormsAuthenticationProvider
      Microsoft.SharePoint.Administration.SPTrustedAuthenticationProvider
      Microsoft.SharePoint.Administration.SPWindowsAuthenticationProvider

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPAuthenticationProvider _
    Inherits SPAutoSerializingObject
'Usage
Dim instance As SPAuthenticationProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPAuthenticationProvider : SPAutoSerializingObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPAuthenticationProvider Members

Microsoft.SharePoint.Administration Namespace