ServicesOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DataMigration.IServicesOperations operations, string groupName, string serviceName, bool? deleteRunningTasks = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataMigration.IServicesOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IServicesOperations, groupName As String, serviceName As String, Optional deleteRunningTasks As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IServicesOperations
The operations group for this extension method.
- groupName
- String
Name of the resource group
- serviceName
- String
Name of the service
- cancellationToken
- CancellationToken
The cancellation token.