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.StringThe name of the membership provider to initialize.
config
Type: System.Collections.Specialized.NameValueCollectionA collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.
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