Configuration Class

IIS 7.0
 

Represents a configuration file for a particular computer, application, or resource.

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

System.Object
  Microsoft.Web.Administration.Configuration

public sealed class Configuration

NameDescription
System_CAPS_pubpropertyRootSectionGroup

Gets the root configuration section group for this Configuration object.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEffectiveSectionGroup()

Gets the effective section groups for the configuration file.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLocationPaths()

Gets an array of all location paths that are specified in the configuration file.

System_CAPS_pubmethodGetMetadata(String)

Gets metadata from the IIS 7 configuration system.

System_CAPS_pubmethodGetSection(String)

Returns the configuration section by using the specified section path.

System_CAPS_pubmethodGetSection(String, String)

Returns the configuration section by using the specified section and location paths.

System_CAPS_pubmethodGetSection(String, Type)

Returns a strongly typed configuration section by using the specified section path.

System_CAPS_pubmethodGetSection(String, Type, String)

Returns a strongly typed configuration section by using the specified section and location paths.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemoveLocationPath(String)

Removes a location path from the current configuration file.

System_CAPS_pubmethodRenameLocationPath(String, String)

Renames the location in the configuration file.

System_CAPS_pubmethodSetMetadata(String, Object)

Sets metadata in the IIS 7 configuration system.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCacheInvalidated

Occurs when the configuration cache has been invalidated.

This class cannot be inherited. Configuration is stored within the Administration.config, ApplicationHost.config, and Web.Config files. This class enables you to customize the configuration files.

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: