This function deletes the job with a given job id.

Namespace: VcClient.Test
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public delegate void CancelJob(
	string jobUrl,
	string reason
)
Visual Basic
Public Delegate Sub CancelJob ( _
	jobUrl As String, _
	reason As String _
)
Visual C++
public delegate void CancelJob(
	String^ jobUrl, 
	String^ reason
)

Parameters

jobUrl
Type: String
Global name of the job to be cancelled. E.g. http://cosmos08.osdinfra.net/cosmos/cosmosAdmin/_jobs/xxxx-xxxx-xxxx-xxxx
reason
Type: String
The reason for cancelling the job

See Also