ApplicationPool.Name Property

IIS 7.0
 

Gets or sets the name of the current application pool.

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

public string Name { get; set; }

Property Value

Type: System.String

The name of the current application pool.

You can use this property to configure the name of the current application pool. To set default values for all application pools on the server, use the ApplicationPoolDefaults object.

The following example lists the application pool name as well as values of other application pool properties. This code example is part of a larger example provided for the ApplicationPool class.

Return to top
Show: