索引鍵Key

Key 指定的唯一索引鍵IpAddressKey specifies a unique key for the IpAddress.

注意Note  

  • 這個項目未出現在屬性窗格中的 Windows 系統映像管理員 (Windows SIM) 直到您將新增IpAddress至回應檔案。This element does not appear in the Properties pane of Windows System Image Manager (Windows SIM) until you add IpAddress to the answer file.

  • Key新增至回應檔案的屬性作為IpAddress項目。The value for Key is added to the answer file as an attribute of the IpAddress element. 屬性wcm:keyValue用來識別每個唯一的 IP 位址。The attribute wcm:keyValue is used to identify each unique IP Address. 例如,您可以指定三個不同的 IP 位址使用的 1、 2 和 3 的機碼值。For example, you can specify three different IP addresses by using Key values of 1, 2, and 3.

Values

索引鍵Key

指定的唯一索引鍵IpAddressSpecifies a unique key for the IpAddress. 索引鍵是一個字串。Key is a string.

父階層Parent Hierarchy

Microsoft-Windows-DNS-Client | Interfaces | Interface | DNSServerSearchOrder | IpAddress | KeyMicrosoft-Windows-DNS-Client | Interfaces | Interface | DNSServerSearchOrder | IpAddress | Key

有效的設定階段Valid Configuration Passes

特製化specialize

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱Microsoft Windows DNS-ClientFor a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-DNS-Client.

XML 範例XML Example

下列的 XML 輸出會顯示 DNS 網域設定為 Fabrikam。The following XML output shows a DNS domain configuration for Fabrikam.

   <DNSDomain>fabrikam.com</DNSDomain>
   <DNSSuffixSearchOrder>
      <DomainName wcm:action="add" wcm:keyValue="1">server1.fabrikam.com</DomainName>
      <DomainName wcm:action="add" wcm:keyValue="2">fabrikam.com</DomainName>
   </DNSSuffixSearchOrder>
   <UseDomainNameDevolution>true</UseDomainNameDevolution>
   <Interfaces>
      <Interface wcm:action="add">
         <Identifier>Local Area Connection</Identifier>
         <DNSDomain>fabrikam.com</DNSDomain>
         <DNSServerSearchOrder>
            <IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.1</IpAddress>
            <IpAddress wcm:action="add" wcm:keyValue="2">192.168.1.2</IpAddress>
         </DNSServerSearchOrder>
         <EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration>
         <DisableDynamicUpdate>false</DisableDynamicUpdate>
      </Interface>
      <Interface wcm:action="add">
         <Identifier>Local Area Connection 2</Identifier>
         <DNSDomain>fabrikam.com</DNSDomain>
         <DNSServerSearchOrder>
            <IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.1</IpAddress>
            <IpAddress wcm:action="add" wcm:keyValue="2">2001:4898:28:4:213:20ff:fe16:3e96</IpAddress>
         </DNSServerSearchOrder>
         <EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration>
        <DisableDynamicUpdate>false</DisableDynamicUpdate>
      </Interface>
   </Interfaces>

IpAddressIpAddress