ApplicationElementDefaults Class [IIS 7 and higher]

IIS 7.0

Specifies the default application pool and enabled protocols for new applications.

class ApplicationElementDefaults : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the ApplicationElementDefaults class.

Name

Description

ApplicationPool

A read/write string value that specifies the default application pool for new applications. The default is "DefaultAppPool".

EnabledProtocols

A read/write array of string values that contains the protocols that are enabled by default for new applications.

Path

A read-only string value that specifies the default virtual path of the application after the host header. For example, if you have an application at http://www.alpineskihouse.com/Skis/Downhill, the value of the Path property is "/Skis/Downhill". A key property.

This class contains no subclasses.

This class is exposed as the ApplicationDefaults property on the Server class and on the Site class, and corresponds to the <applicationDefaults> element in the ApplicationHost.config file.

EmbeddedObject

   ApplicationElementDefaults

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show: