ICluster::GetNewCommandId method

Gets a command identifier that is used to execute a command.

Syntax

HRESULT GetNewCommandId(
  [out] long *pRetVal
);

Parameters

  • pRetVal [out]
    The command identifier.

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.

Remarks

The ICluster::ExecuteCommand method requires a command identifier. You use the GetNewCommandId method to generate an identifier that uniquely identifies the command that you want to execute.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster