ConfigurationEnumValue.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the configuration enumeration attribute.
public:
property long Value { long get(); };
public long Value { get; }
member this.Value : int64
Public ReadOnly Property Value As Long
Property Value
The value of the configuration enumeration attribute.
Remarks
A configuration enumeration value is an attribute in the IIS 7 configuration system that validates against a list of accepted values that are configured in the schema.
The following example schema defines a configuration enumeration value:
<sectionSchema name="system.webServer/security/authentication/basicAuthentication">
<attribute name="enabled" type="bool" defaultValue="false" />
<attribute name="realm" type="string" />
<attribute name="defaultLogonDomain" type="string" />
<attribute name="logonMethod" type="enum" defaultValue="ClearText">
<enum name="Interactive" value="0" />
<enum name="Batch" value="1" />
<enum name="Network" value="2" />
<enum name="ClearText" value="3" />
</attribute>
</sectionSchema>
The following configuration value represents data stored in the configuration system for the <basicAuthentication>
element defined above:
<basicAuthentication defaultLogonDomain="FABRIKAM" enabled="true" logonMethod="Cleartext" realm="FABRIKAM" />