Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SectionGroup Class

IIS 7.0

Provides access to a group of related configuration section groups or configuration section definitions.

System..::..Object
  Microsoft.Web.Administration..::..SectionGroup

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public ref class SectionGroup sealed

The SectionGroup type exposes the following members.

  NameDescription
Public propertyNameGets the name of the configuration section group.
Public propertySectionGroupsGets a collection of nested configuration section groups.
Public propertySectionsGets a collection of nested configuration section definitions.
Public propertyTypeGets or sets the .NET Framework type of the configuration section group.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Because some configuration sections are related, it is often convenient to group them in a single section group. The SectionGroup class represents the <sectionGroup> XML element in a configuration file.

Use the Sections property to access the sections in this SectionGroup object.

A SectionGroup can also contain other SectionGroup objects, which you can access through the SectionGroups property.

The following example demonstrates the SectionGroup class.

No code example is currently available or this language may not be supported.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft