共用方式為


SPClaimsAuthMembershipProvider.Initialize Method

Initializes the SPClaimsAuthMembershipProvider membership provider with the specified name and configurations.

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

Syntax

'Declaration
Public Overrides Sub Initialize ( _
    name As String, _
    config As NameValueCollection _
)
'Usage
Dim instance As SPClaimsAuthMembershipProvider
Dim name As String
Dim config As NameValueCollection

instance.Initialize(name, config)
public override void Initialize(
    string name,
    NameValueCollection config
)

Parameters

  • name
    Type: System.String

    The name of the membership provider to initialize.

Exceptions

Exception Condition
ArgumentNullException

name or config is null .

Remarks

This method stores the name of the membership provider in the Name property. The config parameter is ignored.

See Also

Reference

SPClaimsAuthMembershipProvider Class

SPClaimsAuthMembershipProvider Members

Microsoft.SharePoint.Administration.Claims Namespace