Scheduler.SubmitJob(ISchedulerJob, String, String) Method

Definition

Adds a job to the scheduling queue using the job interface to identify the job.

public void SubmitJob (Microsoft.Hpc.Scheduler.ISchedulerJob job, string username, string password);
abstract member SubmitJob : Microsoft.Hpc.Scheduler.ISchedulerJob * string * string -> unit
override this.SubmitJob : Microsoft.Hpc.Scheduler.ISchedulerJob * string * string -> unit
Public Sub SubmitJob (job As ISchedulerJob, username As String, password As String)

Parameters

job
ISchedulerJob

An ISchedulerJob interface that identifies the job to submit to the scheduling queue.

username
String

The name of the RunAs user, in the form domain\username. The user name is limited to 80 characters.If this parameter is null, empty, or not valid, the service searches the credential cache for the credentials to use. If the cache contains the credentials for a single user, those credentials are used. However, if multiple credentials exist in the cache, the user is prompted for the credentials.

password
String

The password for the RunAs user. The password is limited to 127 characters.If this parameter is null or empty, the method uses the cached password if cached; otherwise, the user is prompted for the password.

Implements

Applies to