ICommandTaskStateEventArg::IsProxy property

Determines if the output is coming from a proxy task.

This property is read-only.

Syntax

HRESULT get_IsProxy(
  [out] VARIANT_BOOL *pIsProxy
);

Property value

Is VARIANT_TRUE if the output is from a proxy; otherwise, VARIANT_FALSE.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

When you run a command, the server creates a separate command for each node on which the command will run. The server also creates a single proxy command that it uses to capture the output and return the output to the client. You can use this property to ignore state changes for the proxy.

Examples

For an example, see Implementing the Event Handlers for Command Events in C++.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ICommandTaskStateEventArg