Share via


ICluster::EndCommand method

Cancels the specified command on all nodes on which the command is running.

Syntax

HRESULT EndCommand(
  [in] long Id
);

Parameters

  • Id [in]
    The command identifier. Specify the identifier that you used to execute the command.

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::ExecuteCommand

ICluster::ExecuteCommandWithPaging