包含屬於陣列的唯一字串,該陣列會在 IIS 的 WMI 提供者中形成類別上的屬性。
Syntax
class StringElement : CollectionElement
方法
這個類別不包含任何方法。
屬性
下表列出 類別所 StringElement 公開的屬性。
| 名稱 | 描述 |
|---|---|
Value |
屬於類似字串陣列的必要唯一讀取/寫入 string 值,這些字串會形成 IIS WMI 提供者類別上的屬性。 相關類別和屬性會列在一節稍後。 索引鍵屬性。 |
子類別
這個類別不包含子類別。
備註
下表列出 IIS WMI 提供者中的類別,這些類別具有實作為實例陣列的屬性 StringElement 。
| 類別 | 屬性 | 描述 |
|---|---|---|
| AuthenticationProviderSettings | Providers |
用於整合式Windows 驗證的安全性支援提供者陣列。 |
| FileSettings | Files |
值的讀取/寫入陣列 string ,其中包含 Web 服務器預設傳回給用戶端的檔案名。 |
| TraceUrlSettings | HttpTracing |
元素陣列,可設定特定類型的要求追蹤。 |
繼承階層架構
StringElement
規格需求
| 類型 | 描述 |
|---|---|
| Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
| 伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF 檔案 | WebAdministration.mof |
另請參閱
AuthenticationProviderSettings 類別
CollectionElement 類別
DefaultDocumentSection 類別
FileSettings 類別
HttpTracingSection 類別
TraceUrlSettings 類別
WindowsAuthenticationSection 類別