ICluster::ReadExecutionResult method
Retrieves the output from a command.
Syntax
HRESULT ReadExecutionResult(
[in] IExecutionResult *result,
[out] BSTR *pRetVal
);
Parameters
result [in]
An IExecutionResult interface that contains the result of the command. The ICluster::ExecuteCommandWithPaging method returns this interface.pRetVal [out]
The standard out and standard error output from 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.
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 |