key (microsoft-windows-netbt-interfaces-interface-nameserverlist-ipaddress-key)
Key
指定 IpAddress的唯一索引鍵。 名稱-伺服器優先順序是以 IP 位址的索引鍵為基礎,優先順序較高,以 (語彙方式) 。
注意
除非您將IpAddress新增至回應檔案,否則此元素不會出現在 Windows 系統映射管理員的 [屬性] 窗格中, (Windows SIM) 。
的值
Key
會新增至回應檔案,做為 IpAddress 元素的屬性。 屬性wcm:keyValue
是用來識別每個唯一 IP 位址。 例如,您可以使用IpAddress1、IpAddress2和IpAddress3的 Key 值來指定三個不同的 IP 位址。
值
金鑰 |
指定 IP 位址的唯一金鑰。 索引鍵 是字串。 |
有效的設定階段
特殊化
父階層
microsoft-windows-netbt- | 介面 | 介面 | NameServerList | IpAddress | 關鍵
套用至
如需此元件支援的 Windows 版本和架構清單,請參閱 microsoft-windows-netbt-。
XML 範例
下列 XML 輸出示範如何設定 microsoft-windows-netbt-。
<Interfaces>
<Interface wcm:action="add">
<NameServerList>
<IpAddress wcm:action="add" wcm:keyValue="IpAddress1">123.45.67.89</IpAddress>
<IpAddress wcm:action="add" wcm:keyValue="IpAddress2">56.78.90.123</IpAddress>
</NameServerList>
<NetbiosOptions>2</NetbiosOptions>
<Identifier>Local Area Connection</Identifier>
</Interface>
</Interfaces>