Compartilhar via


ProjectsOperationsExtensions.DeleteAsync Method

Definition

The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DataMigration.IProjectsOperations operations, string groupName, string serviceName, string projectName, bool? deleteRunningTasks = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataMigration.IProjectsOperations * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IProjectsOperations, groupName As String, serviceName As String, projectName As String, Optional deleteRunningTasks As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IProjectsOperations

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

deleteRunningTasks
Nullable<Boolean>

Delete the resource even if it contains running tasks

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to