GetPortRuleEx method of the MicrosoftNLB_NodeSetting class

Provides an optimized means for obtaining the port rule which encapsulates the input virtual IP address and Port number. The value of virtual IP address to specify 'All Vip'(AKA 'Rest of the VIPs') is 255.255.255.255 : Amended

Syntax

void GetPortRuleEx(
  [in]  string                  VirtualIpAddress,
  [in]  UINT32                  Port,
  [out] MicrosoftNLB_PortRuleEx PortRule
);

Parameters

VirtualIpAddress [in]

One or more virtual IP addresses to be affected by the operation.

Port [in]

A port number within the range of ports covered by the port rule.

PortRule [out]

A MicrosoftNLB_PortRuleEx object.

Return value

This method returns a uint32 set to one of the standard return values.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MicrosoftNLB
MOF
WlbsProv.mof
DLL
WlbsProv.dll

See also

GetPortRule Method of the MicrosoftNLB_NodeSetting Class

MicrosoftNLB_NodeSetting

MicrosoftNLB_PortRuleEx