SystemWebSectionGroup.Membership Property
.NET Framework 2.0
Gets the membership section.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public ReadOnly Property Membership As MembershipSection 'Usage Dim instance As SystemWebSectionGroup Dim value As MembershipSection value = instance.Membership
/** @property */ public MembershipSection get_Membership ()
public function get Membership () : MembershipSection
Not applicable.
Property Value
The MembershipSection object.The following code example shows how to obtain the MembershipSection object from the configuration file of an existing Web application.
' Get the membership section. Dim membership As MembershipSection = _ systemWeb.Membership ' Read section information. info = membership.SectionInformation name = info.SectionName type = info.Type declared = info.IsDeclared.ToString() msg = String.Format("Name: {0}" + _ ControlChars.Lf + "Declared: {1}" + _ ControlChars.Lf + "Type: {2}" + _ ControlChars.Lf, name, declared, type)
Community Additions
ADD
Show: