Scheduler.CreateCommand Method

Definition

Overloads

CreateCommand(String, ICommandInfo, IStringCollection)

Creates a command to execute.

CreateCommand(String, ICommandInfo, IStringCollection, Boolean)

CreateCommand(String, ICommandInfo, IStringCollection)

Creates a command to execute.

public Microsoft.Hpc.Scheduler.IRemoteCommand CreateCommand (string commandLine, Microsoft.Hpc.Scheduler.ICommandInfo info, Microsoft.Hpc.Scheduler.IStringCollection nodes);
abstract member CreateCommand : string * Microsoft.Hpc.Scheduler.ICommandInfo * Microsoft.Hpc.Scheduler.IStringCollection -> Microsoft.Hpc.Scheduler.IRemoteCommand
override this.CreateCommand : string * Microsoft.Hpc.Scheduler.ICommandInfo * Microsoft.Hpc.Scheduler.IStringCollection -> Microsoft.Hpc.Scheduler.IRemoteCommand
Public Function CreateCommand (commandLine As String, info As ICommandInfo, nodes As IStringCollection) As IRemoteCommand

Parameters

commandLine
String

The command to execute. The command is limited to 480 characters.

info
ICommandInfo

An ICommandInfo interface that provides additional property values used by the command. If the command does not use the additional property values, specify NULL.

nodes
IStringCollection

An IStringCollection interface that identifies the nodes on which the command will run. To run the command on all nodes, set to NULL.

Returns

An IRemoteCommand interface that defines the command to run.

Implements

Applies to

CreateCommand(String, ICommandInfo, IStringCollection, Boolean)

public Microsoft.Hpc.Scheduler.IRemoteCommand CreateCommand (string commandLine, Microsoft.Hpc.Scheduler.ICommandInfo info, Microsoft.Hpc.Scheduler.IStringCollection nodes, bool redirectOutput);
abstract member CreateCommand : string * Microsoft.Hpc.Scheduler.ICommandInfo * Microsoft.Hpc.Scheduler.IStringCollection * bool -> Microsoft.Hpc.Scheduler.IRemoteCommand
override this.CreateCommand : string * Microsoft.Hpc.Scheduler.ICommandInfo * Microsoft.Hpc.Scheduler.IStringCollection * bool -> Microsoft.Hpc.Scheduler.IRemoteCommand
Public Function CreateCommand (commandLine As String, info As ICommandInfo, nodes As IStringCollection, redirectOutput As Boolean) As IRemoteCommand

Parameters

commandLine
String
redirectOutput
Boolean

Returns

Implements

Applies to