Export (0) Print
Expand All
Expand Minimize

Microsoft.Web.Administration Namespace

The Microsoft.Web.Administration namespace contains classes that a developer can use to administer IIS Manager. With the classes in this namespace, an administrator can read and write configuration information to ApplicationHost.config, Web.config, and Administration.config files.

The classes in the Microsoft.Web.Administration namespace contain a series of convenient top-level objects that allow the developer to perform administrative tasks. The different logical objects available include sites, applications, application pools, application domains, virtual directories, and worker processes. You can use the API to obtain and work with the configuration and state of these objects and to perform such actions as creating a site, starting or stopping a site, deleting an application pool, recycling an application pool, and even unloading application domains.

  ClassDescription
Public classApplicationDefines properties common to all applications in Internet Information Services (IIS).
Public classApplicationCollectionRepresents a collection of Application objects for a Site object.
Public classApplicationDefaultsDefines the default values for applications that are created for a Web site.
Public classApplicationDomainRepresents the isolated environment for managed applications in a worker process.
Public classApplicationDomainCollectionRepresents a collection of ApplicationDomain objects.
Public classApplicationPoolProvides methods and properties to configure and manage IIS 7 application pools.
Public classApplicationPoolCollectionRepresents a collection of ApplicationPool objects.
Public classApplicationPoolCpuConfigures default values for CPU usage parameters and CPU actions that all application pools on a server use.
Public classApplicationPoolDefaultsConfigures default values for all application pools on a Web server.
Public classApplicationPoolFailureDefines the actions to take when an application pool fails.
Public classApplicationPoolPeriodicRestartSpecifies conditions that govern application pool recycling.
Public classApplicationPoolProcessModelRepresents the process model settings for an application pool.
Public classApplicationPoolRecyclingConfigures recycling settings for an application pool.
Public classBindingRepresents the binding instructions for a Web site.
Public classBindingCollectionRepresents a collection of bindings.
Public classConfigurationRepresents a configuration file for a particular computer, application, or resource.
Public classConfigurationAttributeRepresents a single property in a configuration element.
Public classConfigurationAttributeCollectionRepresents a collection of related configuration attributes.
Public classConfigurationAttributeSchemaProvides access to the attributes that define the schema for a configuration attribute.
Public classConfigurationAttributeSchemaCollectionRepresents a collection of ConfigurationAttributeSchema objects.
Public classConfigurationChildElementCollectionRepresents a collection of related child configuration elements.
Public classConfigurationCollectionSchemaRepresents the schema for a collection in the IIS 7 configuration system.
Public classConfigurationElementRepresents an element in a configuration file.
Public classConfigurationElementCollectionRepresents a collection of configuration elements.
Public classConfigurationElementCollectionBase<(Of <(<'T>)>)>Provides the abstract base class for a strongly typed collection of configuration elements.
Public classConfigurationElementSchemaRepresents the schema for a configuration element.
Public classConfigurationElementSchemaCollectionRepresents a collection of ConfigurationElementSchema objects.
Public classConfigurationEnumValueDefines an attribute in the IIS 7 configuration system that validates against a list of accepted schema-defined values. 
Public classConfigurationEnumValueCollectionRepresents a collection of configuration enumeration values.
Public classConfigurationMethodRepresents a method that is implemented as an IIS configuration extension.
Public classConfigurationMethodCollectionRepresents a collection of configuration methods.
Public classConfigurationMethodInstanceRepresents an instance of a ConfigurationMethod.
Public classConfigurationMethodSchemaProvides access to the method that defines the schema for a configuration method.
Public classConfigurationSectionRepresents a section of configuration data in the IIS 7 configuration system. 
Public classRequestRepresents a single request to an IIS 7 server.
Public classRequestCollectionRepresents a collection of active requests in a worker process.
Public classScheduleDefines the schedule for a single event.
Public classScheduleCollectionRepresents a collection of Schedule objects.
Public classSectionDefinitionDefines a configuration section.
Public classSectionDefinitionCollectionRepresents a collection of related SectionDefinition objects.
Public classSectionGroupProvides access to a group of related configuration section groups or configuration section definitions.
Public classSectionGroupCollectionRepresents a collection of related SectionGroup objects.
Public classServerManagerProvides read and write access to the IIS 7 configuration system.
Public classServerManagerExceptionThe exception that is thrown when the server manager is unable to perform a requested operation.
Public classSiteDefines a properties and methods common to all Web sites configured in IIS.
Public classSiteCollectionRepresents a collection of Site objects.
Public classSiteDefaultsContains the default values for IIS 7 Web site properties. 
Public classSiteLimitsExposes connection-related limits for a Web site.
Public classSiteLogFileConfigures logging for a Web site.
Public classSiteTraceFailedRequestsLoggingConfigures log settings for failed requests.
Public classVirtualDirectoryDefines methods and properties that are common to all virtual directories in IIS 7.
Public classVirtualDirectoryCollectionRepresents a collection of virtual directories for a particular application or site context.
Public classVirtualDirectoryDefaultsDefines the default values for virtual directories that are created for an application or Web site.
Public classWebConfigurationManagerProvides access to configuration files for Web applications.
Public classWebConfigurationMapSpecifies the paths of the Machine.config and Web.config files.
Public classWorkerProcessDefines methods and properties that are common to all worker processes in IIS 7.
Public classWorkerProcessCollectionRepresents a collection of WorkerProcess objects.

  EnumerationDescription
Public enumerationAuthenticationLogonMethodSpecifies the kind of authentication that you can use to establish a logon session for a secured virtual directory.
Public enumerationLoadBalancerCapabilitiesSpecifies the response to the client when an XML Web service is unavailable.
Public enumerationLogExtFileFlagsContains flags that determine which categories of information are written to the log file or data source during logging events.
Public enumerationLogFormatSpecifies the formatting to use for recording the log file.
Public enumerationLoggingRolloverPeriodDetermines when a new IIS log file is created.
Public enumerationManagedPipelineModeDetermines how the server processes requests for managed code.
Public enumerationObjectStateSpecifies the running state of an IIS object.
Public enumerationOverrideModeSpecifies the override behavior of a configuration section.
Public enumerationPipelineStateSpecifies the current execution status of the request process.
Public enumerationProcessModelIdentityTypeSpecifies the process model identity of an application pool.
Public enumerationProcessorActionSpecifies the action that IIS takes when an application pool exceeds the CPU limit specified by the ApplicationPoolCpu..::..Limit property.
Public enumerationRecyclingLogEventOnRecycleDefines the reasons for application pool recycling that will cause IIS to log an event.
Public enumerationWorkerProcessStateIndicates the running state for a worker process.

Community Additions

ADD
Show:
© 2014 Microsoft