Share via


IRemoteCommand::Start method

Executes the command.

Syntax

HRESULT Start();

Parameters

This method has no parameters.

Remarks

The credentials used to run the command are requested from the user. If your application is a Windows application, you must call the IScheduler::SetInterfaceMode method to specify the parent window for the credentials dialog box.

After starting the command, your application must continue to run until the job that run the command finishes. If your application exits too soon, the HPC Job Scheduler Service may not create and start the task that runs the command.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IRemoteCommand

IRemoteCommand::StartWithCredentials