ICluster::ReadExecutionResult method

Retrieves the output from a command.

Syntax

HRESULT ReadExecutionResult(
  [in]  IExecutionResult *result,
  [out] BSTR             *pRetVal
);

Parameters

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

Call this method when calling the ExecuteCommandWithPaging or ICluster::WaitForCommandWithPaging method.

Calling this method is the same as calling the IExecutionResult::get_Output method.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster