Share via


ICluster::PauseNode method

Prevents the scheduler from starting new jobs and tasks on the specified node until the ICluster::ResumeNode method is called. New jobs and tasks will not start while the node is paused, but existing jobs and tasks will continue to run.

Syntax

HRESULT PauseNode(
  [in] BSTR NodeName
);

Parameters

  • NodeName [in]
    The name of the node.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, call the ICluster::get_ErrorMessage method.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster

ICluster::ApproveNode

ICluster::get_ComputeNodes

ICluster::ResumeNode