System.Web.Security.SqlRoleProvider.Initialize Method

Initializes the SQL Server role provider with the property values specified in the ASP.NET application's configuration file. This method is not intended to be used directly from your code.

Syntax

public override void Initialize (string name, System.Collections.Specialized.NameValueCollection config)

Parameters

name
The name of the System.Web.Security.SqlRoleProvider instance to initialize.
config
A System.Collections.Specialized.NameValueCollection that contains the names and values of configuration options for the role provider.

Remarks

This method initializes the System.Web.Security.SqlRoleProvider with the property values specified in the ASP.NET application configuration file (Web.config) and is not intended to be used directly from your code.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0