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,
	string userName,
	SecureString password,
	SubmitParameters parameters
)
Visual Basic
Public Shared Function Submit ( _
	vcName As String, _
	proxy As String, _
	userName As String, _
	password As SecureString, _
	parameters As SubmitParameters _
) As JobInfo
Visual C++
public:
static JobInfo^ Submit(
	String^ vcName, 
	String^ proxy, 
	String^ userName, 
	SecureString^ password, 
	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.
userName
Type: String
The username in Domain\username format. If the username is null, the default encoded account will be used.
password
Type: SecureString
The password of the user account. If it's null, the encoded password stored in Windows Credential Manager will be used, else the specified password will be used and the submit operation will be executed in the same app domain.
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