次の方法で共有


AccessNLBRegParam method of the MicrosoftNLB_ClusterSetting class

Gets and sets the following instance-specific/global NLB registry parameters. For the instance-specific parameters to take effect, call the LoadAllSettings method after calling this method. The global parameters will take effect upon the next boot-up of the system.

Syntax

boolean AccessNLBRegParam(
  [in]      boolean Get = ,
  [in]      boolean InstanceOnly = ,
  [in]      string  Name,
  [in, out] uint32  Value
);

Parameters

Get [in]

Indicates whether the value is being retrieved or set. VARIANT_TRUE indicates that the value is being retrieved.

InstanceOnly [in]

Indicates whether to use the instance-specific or global value of the setting. VARIANT_TRUE indicates that the instance-specific value should be used.

Name [in]

Name of the setting to retrieve or set. Supported values include:

UnicastInterHostCommSupport

Indicates whether nodes operating in unicast mode can communicate with each other. One (1) enables inter-host communications, and zero (0) disables interhost communication. This setting is instance-specific.

EnableTCPNotification

Enables an different methods of tracking TCP connections to ensure affinity between the host that received the original connection and the client. This setting is global. Possible value are 0, 1, and 2.

Value [in, out]

Value to be set

Requirements

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

See also

MicrosoftNLB_ClusterSetting