Key (microsoft-windows-netbt-interfaces-interface-nameserverlist-ipaddress-key)

Key 指定 IpAddress 的唯一键。 名称-服务器优先级基于 IP 地址的键,较低的键具有较高的优先级(按字典顺序)。

注意  

  • 在将 IpAddress 添加到答案文件之前,此元素不会出现在 Windows 系统映像管理器 (Windows SIM) 的“属性”窗格中。

  • Key 的值作为 IpAddress 元素的属性添加到答案文件中。 属性 wcm:keyValue 用于标识每个唯一 IP 地址。 例如,可以使用键值 IpAddress1、IpAddress2 和 IpAddress3 指定三个不同的 IP 地址。

指定 IP 地址的唯一键。 Key 是一个字符串。

有效配置阶段

specialize

父层次结构

microsoft-windows-netbt- | Interfaces | Interface | NameServerList | IpAddress | Key

应用于

有关此组件支持的受支持 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>

IpAddress