VirtualDirectoryContainsConfigurationSection Class [IIS 7 and higher]

Provides a relationship between a virtual directory and a configuration section.

Syntax

class VirtualDirectoryContainsConfigurationSection : ObjectConfigurationAssociation

Methods

This class contains no methods.

Properties

The following table lists the properties for the VirtualDirectoryContainsConfigurationSection class.

Name

Description

Container

A read-only VirtualDirectory object that represents an IIS virtual directory.

Element

A read-only ConfigurationSection object that exposes the configuration section for a virtual directory.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ObjectConfigurationAssociation

   VirtualDirectoryContainsConfigurationSection

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

ConfigurationSection Class [IIS 7 and higher]

ObjectConfigurationAssociation Class [IIS 7 and higher]

VirtualDirectory Class [IIS 7 and higher]