你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TasksOperationsExtensions.Delete Method

Definition

The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running.

public static void Delete (this Microsoft.Azure.Management.DataMigration.ITasksOperations operations, string groupName, string serviceName, string projectName, string taskName, bool? deleteRunningTasks = default);
static member Delete : Microsoft.Azure.Management.DataMigration.ITasksOperations * string * string * string * string * Nullable<bool> -> unit
<Extension()>
Public Sub Delete (operations As ITasksOperations, groupName As String, serviceName As String, projectName As String, taskName As String, Optional deleteRunningTasks As Nullable(Of Boolean) = Nothing)

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

deleteRunningTasks
Nullable<Boolean>

Delete the resource even if it contains running tasks

Applies to