asp.net.ph

MembershipProviderCollection Class

System.Web.Security Namespace


.NET Framework version 2.0

A collection of objects that inherit the MembershipProvider abstract class.

MembershipProviderCollection Class Members

Collapse   Constructors

Visibility Constructor Parameters
public MembershipProviderCollection ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Item ( String name ) MembershipProvider [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Add ( ProviderBase provider ) Void
public CopyTo ( MembershipProvider array , Int32 index ) Void

Remarks

The membership providers for an application are exposed as a read-only MembershipProviderCollection by the Providers property of the Membership class.

You can access a specific membership provider in the collection by name and cast it as the specific provider type, such as SqlMembershipProvider. This enables you to manage membership information from multiple data stores in a single application as well as access custom members of a membership provider that are not part of the MembershipProvider abstract class.

See Also

Membership Class   MembershipProvider Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph