This function submits the job to virtual cluster.

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,
	bool defaultCredential,
	SubmitParameters parameters
)
Visual Basic
Public Shared Function Submit ( _
	vcName As String, _
	proxy As String, _
	defaultCredential As Boolean, _
	parameters As SubmitParameters _
) As JobInfo
Visual C++
public:
static JobInfo^ Submit(
	String^ vcName, 
	String^ proxy, 
	bool defaultCredential, 
	SubmitParameters^ parameters
)

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.
defaultCredential
Type: Boolean
If the value is true, the username that is currently logged on the machine will be used. There is no need to encode the password.
parameters
Type: ScopeClient..::..SubmitParameters
Scope.exe submit parameters structure

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