Update job properties, such as priority and VC allocation, of a queued or running job.
Namespace: VcClientAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
[ObsoleteAttribute("Use UpdateJob(Guid jobUrl, JobUpdateInfo updateInfo) instead.")]
public static void UpdateJob(
string jobUrl,
Nullable<int> priority,
Nullable<double> vcPercentAllocation
) |
Visual Basic |
---|
<ObsoleteAttribute("Use UpdateJob(Guid jobUrl, JobUpdateInfo updateInfo) instead.")> _
Public Shared Sub UpdateJob ( _
jobUrl As String, _
priority As Nullable(Of Integer), _
vcPercentAllocation As Nullable(Of Double) _
) |
Visual C++ |
---|
[ObsoleteAttribute(L"Use UpdateJob(Guid jobUrl, JobUpdateInfo updateInfo) instead.")]
public:
static void UpdateJob(
String^ jobUrl,
Nullable<int> priority,
Nullable<double> vcPercentAllocation
) |
Parameters
- jobUrl
- Type: String
Global name of the job to updated.
E.g. http://cosmos08.osdinfra.net/cosmos/cosmosAdmin/_jobs/xxxx-xxxx-xxxx-xxxx
- priority
- Type: Nullable<(Of <(<'Int32>)>)>
New job priority. If null, priority will not be updated.
- vcPercentAllocation
- Type: Nullable<(Of <(<'Double>)>)>
New job VC allocation percentage. If null, VC allocation percentage will not be updated.
See Also