Scheduler.CreateCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- info
- ICommandInfo
- nodes
- IStringCollection
- redirectOutput
- Boolean
Returns
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for