Login.MembershipProvider Property
.NET Framework 3.0
Gets or sets the name of the membership data provider used by the control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration <ThemeableAttribute(False)> _ Public Overridable Property MembershipProvider As String 'Usage Dim instance As Login Dim value As String value = instance.MembershipProvider instance.MembershipProvider = value
/** @property */ public String get_MembershipProvider () /** @property */ public void set_MembershipProvider (String value)
public function get MembershipProvider () : String public function set MembershipProvider (value : String)
Not applicable.
Property Value
The name of the membership data provider used by the control. The default is Empty.The MembershipProvider property contains the name of the data provider that provides the authentication information for the Login control. Valid membership provider names are defined in the <membership> element in your application's Machine.config or Web.config file.
If you do not set the MembershipProvider property, it will always return Empty.
For more information, see the Membership class.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and Introduction to ASP.NET Themes.
Community Additions
ADD
Show: