Compartilhar via


TasksOperationsExtensions.Cancel Method

Definition

The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it's currently queued or running.

public static Microsoft.Azure.Management.DataMigration.Models.ProjectTask Cancel (this Microsoft.Azure.Management.DataMigration.ITasksOperations operations, string groupName, string serviceName, string projectName, string taskName);
static member Cancel : Microsoft.Azure.Management.DataMigration.ITasksOperations * string * string * string * string -> Microsoft.Azure.Management.DataMigration.Models.ProjectTask
<Extension()>
Public Function Cancel (operations As ITasksOperations, groupName As String, serviceName As String, projectName As String, taskName As String) As ProjectTask

Parameters

operations
ITasksOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

projectName
String

Name of the project

taskName
String

Name of the Task

Returns

Applies to