Share via


DrainStop method of the MicrosoftNLB_Node class

Drains all ports and stops cluster operations on the node.

Syntax

uint32 DrainStop();

Parameters

This method has no parameters.

Return value

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

WLBS_OK (1000)

WLBS_SUSPENDED (1013)

WLBS_ALREADY (1001)

WLBS_STOPPED (1005)

Remarks

This method will fail if called on an instance of a MicrosoftNLB_Node object that represents a remote node.

Requirements

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

See also

MicrosoftNLB_Node

MicrosoftNLB_ClusterSetting