NCS_ClusterLeave

Instructs the node to leave the cluster.

Syntax

 #include <ncssdk.h> 
  
 NCS_RETURN NCS_ClusterLeave (
    NCS_HANDLE   Handle);
 

Parameters

Handle

(IN) Specifies the handle supplied by NCS to remove the node from the cluster.

Return Values

Name

Description

SUCCESS

NCS_SUCCESS.

FAILURE

Remarks

The server that executes this function is requested to leave the cluster. Synchronous: does not return until the node has released all resources (run the unload scripts).