This function cancels a job with a given job ID.
Namespace: Microsoft.Cosmos.ManagementAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public void CancelJob( Guid jobId, string reason ) |
Visual Basic |
---|
Public Sub CancelJob ( _ jobId As Guid, _ reason As String _ ) |
Visual C++ |
---|
public: void CancelJob( Guid jobId, String^ reason ) |
Parameters
- jobId
- Type: Guid
Job ID of the job which needs to be deleted.
- reason
- Type: String
The reason for cancelling the job