MembershipProviderCollection::Add Method (ProviderBase^)
.NET Framework (current version)
Adds a membership provider to the collection.
Assembly: System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)
Parameters
- provider
-
Type:
System.Configuration.Provider::ProviderBase^
The membership provider to add to the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | provider is null. |
| ArgumentException | provider is not of a type that inherits the MembershipProvider abstract class. |
This method is not intended to be used from your code.
.NET Framework
Available since 2.0
Available since 2.0
Show: