Compartir a través de


SetPassword method of the MicrosoftNLB_ClusterSetting class

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Changes the remote control password for the cluster.

Syntax

void SetPassword(
  [in] string Password
);

Parameters

Password [in]

The remote control password.

Return value

This method does not return a value.

Remarks

Use caution when changing the remote control password and be sure to commit the change by using the LoadAllSettings method.

Note

Before calling this method, it is highly recommended that the authentication level for the call to the CoSetProxyBlanket function or the CoInitializeSecurity function be set to RPC_C_AUTHN_LEVEL_PKT_PRIVACY. This setting reduces the threat of disclosure by ensuring that the password string is encrypted during its transfer from the client computer to the server computer.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
End of server support
None supported
Namespace
Root\MicrosoftNLB
MOF
WlbsProv.mof
DLL
WlbsProv.dll

See also

LoadAllSettings Method of the MicrosoftNLB_ClusterSetting Class

MicrosoftNLB_ClusterSetting