ConfigurationAttributeSchema.IsExpanded Property

IIS 7.0
 

Gets a value indicating whether environment variables in an attribute value should be expanded.

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

public bool IsExpanded { get; }

Property Value

Type: System.Boolean

true if the environment variables should be expanded; otherwise, false. The default is false.

Attributes may store environment variables such as %windir%. These variables that are stored in attribute values are expanded to their canonical form when this property gets a value of true. For example, %windir% could be expanded to "c:\windows".

Return to top
Show: