Share via


GetPortRule method of the MicrosoftNLB_NodeSetting class

Retrieves the port rule associated with a port number.

Syntax

void GetPortRule(
  [in]  uint32                Port,
  [out] MicrosoftNLB_PortRule PortRule
);

Parameters

Port [in]

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

PortRule [out]

A MicrosoftNLB_PortRule 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

GetPortRuleEx Method of the MicrosoftNLB_NodeSetting Class

MicrosoftNLB_NodeSetting

MicrosoftNLB_PortRule