This topic has not yet been rated - Rate this topic

WebConfigurationManager Class

IIS 7.0

Provides access to configuration files for Web applications.

System..::..Object
  Microsoft.Web.Administration..::..WebConfigurationManager

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
public static class WebConfigurationManager
  Name Description
Public method Static member GetSection(String) Retrieves the specified configuration section from the current application's configuration file.
Public method Static member GetSection(HttpContext, String) Retrieves the specified configuration section from the application's configuration file in relationship to the specified context.
Public method Static member GetSection(String, String, String) Retrieves the specified configuration section by using the Web site name, virtual path, and section path.
Public method Static member GetSection(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.
Public method Static member GetSection(String, String, String, Type) Retrieves the specified configuration section by using the Web site name, virtual path, section path, and run-time type.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ