ConfigurationEnumValue.Value プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
構成列挙属性の値を取得します。
public:
property long Value { long get(); };
public long Value { get; }
member this.Value : int64
Public ReadOnly Property Value As Long
プロパティ値
構成列挙属性の値。
注釈
構成列挙値は、スキーマで構成されている受け入れ可能な値の一覧に対して検証する IIS 7 構成システムの属性です。
次のスキーマ例では、構成列挙値を定義します。
<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>
次の構成値は、上記で定義した要素の構成システムに格納されているデータを <basicAuthentication>
表します。
<basicAuthentication defaultLogonDomain="FABRIKAM" enabled="true" logonMethod="Cleartext" realm="FABRIKAM" />