Submitting a command line job
Namespace: VcClient.TestAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
[ObsoleteAttribute("Use SubmitJob instead")]
public virtual JobInfo SubmitCmdLineJob(
string name,
int priority,
int vcPercentAllocation,
List<string> resources,
List<string> embeddedFiles,
string cmdLine,
bool compression
) |
Visual Basic |
---|
<ObsoleteAttribute("Use SubmitJob instead")> _
Public Overridable Function SubmitCmdLineJob ( _
name As String, _
priority As Integer, _
vcPercentAllocation As Integer, _
resources As List(Of String), _
embeddedFiles As List(Of String), _
cmdLine As String, _
compression As Boolean _
) As JobInfo |
Visual C++ |
---|
[ObsoleteAttribute(L"Use SubmitJob instead")]
public:
virtual JobInfo^ SubmitCmdLineJob(
String^ name,
int priority,
int vcPercentAllocation,
List<String^>^ resources,
List<String^>^ embeddedFiles,
String^ cmdLine,
bool compression
) |
Parameters
- name
- Type: String
Job Name. If null or empty - command file name will be used.
- priority
- Type: Int32
Job priority.
- vcPercentAllocation
- Type: Int32
VC Percent allocation for the job
- resources
- Type: List<(Of <(<'String>)>)>
Required resource files.
- embeddedFiles
- Type: List<(Of <(<'String>)>)>
Files are uploaded to VC and added to resource list.
- cmdLine
- Type: String
Ignored.
- compression
- Type: Boolean
Ignored.
Return Value
Copy of created job object.
Exceptions
See Also