This function submits the job to virtual cluster. This will use the default versions of SCOPE and Dryad Nebula. Also, it will use the default value for VC percent allocation.

Namespace: ScopeClient
Assembly: Scope (in Scope.exe) Version: 10.2.0.0 (10.2.2.0)

Syntax

C#
public static JobInfo Submit(
	string vcName,
	string proxy,
	string userName,
	string friendlyName,
	int priority,
	Dictionary<string, string> parameters,
	string scopeScriptFileName,
	bool compression
)
Visual Basic
Public Shared Function Submit ( _
	vcName As String, _
	proxy As String, _
	userName As String, _
	friendlyName As String, _
	priority As Integer, _
	parameters As Dictionary(Of String, String), _
	scopeScriptFileName As String, _
	compression As Boolean _
) As JobInfo
Visual C++
public:
static JobInfo^ Submit(
	String^ vcName, 
	String^ proxy, 
	String^ userName, 
	String^ friendlyName, 
	int priority, 
	Dictionary<String^, String^>^ parameters, 
	String^ scopeScriptFileName, 
	bool compression
)

Parameters

vcName
Type: String
Name of the VC, either in http:// or vc:// format, the job is being submitted to.
proxy
Type: String
The proxy value to be used when communicating with the VC. By default, a proxy will not be used.
userName
Type: String
The username in Domain\username format. If the username is null, the default encoded account will be used.
friendlyName
Type: String
Friendly name for the job.
priority
Type: Int32
Priority of the job. Lower values have higher priority.
parameters
Type: Dictionary<(Of <(<'String, String>)>)>
This variable is used to pass parameters to the SCOPE script. The key of each entry is the parameter name and the value of each entry is the parameter value. If you don't have any parameters to pass, pass null.
scopeScriptFileName
Type: String
Name of the SCOPE script file.
compression
Type: Boolean
True if the compression needs to be used in uploading embedded resources and all other requests to the VC.

Return Value

If the job was submitted successfully, a JobInfo object will be returned. Please look VcClient library to know more about JobInfo.

See Also