Key
Applies To: Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2
Key
specifies the name of the port rule used by the cluster. The name is specified as an attribute in the port rule.
Note
Key
is added to the answer file as an attribute of the Portrule element. The attribute wcm:keyValue
is used to identify each unique port rule. For example, you can specify three different port rules by using the Key
values of Portrule1, Portrule2, and Portrule3.Values
Key |
Specifies the name of the port rule. |
This string type does not support empty elements. Do not create an empty value for this setting.
Valid Passes
specialize
Parent Hierarchy
Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster | Portrules | Portrule | Key
Applies To
For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-NetworkLoadBalancing-Core.
XML Example
The following XML output shows how to specify the name of the port rule used by the cluster as "Portrule1".
<Portrule wcm:keyValue="Portrule1">
<VirtualIpAddress>255.255.255.255</VirtualIpAddress>
<Protocol>TCP</Protocol>
<StartPort>0</StartPort>
<EndPort>65535</EndPort>
<Mode>MultipleHost</Mode>
<EqualLoad>true</EqualLoad>
<ClientAffinity>None</ClientAffinity>
</Portrule>