Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
On the Port Rules tab of the Network Load Balancing Properties dialog, the filtering mode of a port rule is a configurable property. The Network Load Balancing (NLB) Provider does not define a corresponding property. Instead, each filtering mode is represented by a specific class derived from MicrosoftNLB_PortRuleEx. To access the settings of a port rule, you must create an instance of that class.
Filtering mode | Class to use |
---|---|
Multiple-host filtering mode |
MicrosoftNLB_PortRuleLoadbalanced |
Single-host filtering mode |
MicrosoftNLB_PortRuleFailover |
Disabled |
MicrosoftNLB_PortRuleDisabled |
The remaining settings shown on the Port Rules tab of the Network Load Balancing Properties dialog are accessed using the properties of the MicrosoftNLB_PortRuleEx class as shown in the following table.
Setting | Property |
---|---|
Port range |
StartPort and EndPort |
Protocols |
Protocol |
Affinity |
Affinity |
Load weight |
LoadWeight |
Equal load checkbox |
EqualLoad |
Handling priority |
Priority |