WebConfigurationManager Class

IIS 7.0
 

Provides access to configuration files for Web applications.

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

System.Object
  Microsoft.Web.Administration.WebConfigurationManager

[<AbstractClass>]
[<Sealed>]
[<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand,
    Level = AspNetHostingPermissionLevel.Minimal)>]
type WebConfigurationManager = class end

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetSection(HttpContext, String)

Retrieves the specified configuration section from the application's configuration file in relationship to the specified context.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(HttpContext, String, Type)

Retrieves the specified configuration section by using the specified configuration section type from the application's configuration file in relationship to the specified context.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(String)

Retrieves the specified configuration section from the current application's configuration file.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(String, String, String)

Retrieves the specified configuration section by using the Web site name, virtual path, and section path.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(String, String, String, Type)

Retrieves the specified configuration section by using the Web site name, virtual path, section path, and run-time type.

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

Return to top
Show: