Dela via


ServicesOperationsExtensions.Delete Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. The DELETE method deletes a service. Any running tasks will be canceled.

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

Parameters

operations
IServicesOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

deleteRunningTasks
Nullable<Boolean>

Delete the resource even if it contains running tasks

Applies to