System.Web.Configuration.ProvidersHelper.InstantiateProvider Method

Initializes and returns a single provider of the given type using the supplied settings.

Syntax

public static System.Configuration.Provider.ProviderBase InstantiateProvider (System.Configuration.ProviderSettings providerSettings, Type providerType)

Parameters

providerSettings
The settings to be passed to the provider upon initialization.
providerType
The Type of the provider to be initialized.

Returns

A new provider of the given type using the supplied settings.

Remarks

Documentation for this section has not yet been entered.

Requirements

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