This documentation is archived and is not being maintained.

WebConfigurationManager.OpenWebConfiguration Method

Opens the Web-application configuration file as a Configuration object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member OpenWebConfiguration(String) Opens the Web-application configuration file as a Configuration object using the specified virtual path to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path and site name to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, and location to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, location, and server to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String, String, IntPtr) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, location, server, and security context to allow read or write operations.
Public method Static member OpenWebConfiguration(String, String, String, String, String, String) Opens the Web-application configuration file as a Configuration object using the specified virtual path, site name, location, server, and security context to allow read or write operations.
Top
Show: